What is Node.js
Allows JS to run outside of browser/server
What is it used for?
builds back-ends for web applications
What is the process object in Node.js?
global object that provides info about current node.js processes
How do you access the process object in Node.js?
console.log(process)
What is the data type of process.argv in Node?
array
What is a JS module?
any single ‘.js’ file
What values are passed into a Node.js module’s local scope?
top level variables (const, let)
Give to examples of truly global variables in a Node.js program?
__dirname (directory name), __filename (file name)