Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
i'm working on the project in which i code in node.js module but how can i access this variable outside the node.js module to use it on other modules?
@UserTrue said in NODE js problem:
const {default: fetch } = await import("node-fetch")
it works thank you
ok I found. you have to compile the script in private
image.png
@fox said in Global Variables Explained?:
https://www.youtube.com/watch?v=Vj2Q50FIBi4&t=4770s - here is very detailed with examples.
I've came across this video but the translation was not very accurate, I will try again to get it to translate correctly. Thank you!