node-require Flashcards

1
Q

What is the purpose of module.exports in a Node.js module?

A

to link functionalities of multiple js files

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

relative path to files

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