Repaso
EspaƱol
Frontend & WebFoundationsFE-59

What is Node.js?

Options

  1. A database used for storing web application data
  2. A JavaScript runtime to run code outside the browser (Correct option)
  3. A CSS framework used for building page layouts
  4. A cloud provider that rents out servers by the hour

Answer

A JavaScript runtime that lets you run JavaScript outside the browser, for example to build servers and command-line tools

Why

JavaScript was born inside browsers. Node.js is a program that can run JavaScript code on any computer, so you can write a backend or a script in JavaScript.

Node.js describes itself as a free, open-source, cross-platform JavaScript runtime environment, built to be asynchronous and event-driven.

A runtime is the program that executes your code.

Remember

Node.js = JavaScript outside the browser.

Key terms

Practice this question in Repaso