Node Intro Flashcards
When was Node created?
May 27th, 2009
What is Node.js?
Node.js is a set of libraries for JavaScript which allows it to be used outside of the browser. It is primarily focused on creating simple, easy-to-build network clients and servers.
What can Node.js be used for?
Building scalable web apps
Anytime you want to use JavaScript outside the browser
What is a REPL?
Read-eval-print loop (Node.js comes bundled with a REPL)
-interactive computer programming environment that takes in single user inputs, evaluates, and returns them
Read − Reads user’s input, parses the input into JavaScript data-structure, and stores in memory.
Eval − Takes and evaluates the data structure.
Print − Prints the result.
Loop − Loops the above command until the user presses ctrl-c twice.