node.js Flashcards
What is Node.js?
JavaScript runtime built on Chrome’s V8 JavaScript engine
What can Node.js be used for?
To build scalable network applications
Write your code in JavaScript and execute it with node
What is REPL?
Read-eval-print loop
Simple interactive computer programming environment that takes single user inputs, executes them, and returns the result to the user
A program written in REPL environment is executed piecewise
When was Node.js created?
2009
What backend languages have you heard of?
JavaScript, Ruby, PHP, Java Python, C, C#, C++, Rust
What is a computer process?
A process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity.
Why should a full stack Web Developer know that computer processes exist?
Full stack web development is based on making multiple processes work together to form one application
What is the process object in a Node.js program?
The process object is a global that provides information about, and control over, the current Node.js process.
As a global, it is always available to Node.js applications without using require()
How do you access the process object in a Node.js program?
It’s included in the global. It can be used at any time.
What is the data type of process.argv in Node.js?
An array of strings