Serverside JS Flashcards

1
Q

main features of node.js

A

V8 JS engine
non-blocking - not multithreaded
EMCMAScript
NPM

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

use cases of node.js

A

dynamic content
real time apps
single page apps
restful api’s

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

named exports

A

to use a named export, an additional property can be specified on the exports object for the funciton or object that needs to be exported from a module

exports.user = user;

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