Explore the Node.js REPL Environment

Learn about the Node.js REPL environment.

REPL environment

Let’s try the REPL node environment by pressing “Click to Connect” on the provided terminal. After connecting, follow the steps below:

  1. Type “node” into the terminal. This will open up a REPL (Read-Evaluate-Print-Loop) where we can run individual node statements using JavaScript. The command stays in idle mode, waiting for us to input code.
  2. Core JavaScript features we’re familiar with in the browser, like toUpperCase(), are still available in Node.js. Try running the following with REPL:

Get hands-on with 1200+ tech skills courses.