nodeJS Flashcards

1
Q

What is a JavaScript module?

A

In the Node.js module system, each file is treated as a separate module.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What values are passed into a Node.js module’s local scope?

A

exports, require, module, __filename, and __dirname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly