Explore the Node.js REPL Environment
Learn about the Node.js REPL environment.
We'll cover the following
REPL environment
Let’s try the REPL node environment by pressing “Click to Connect” on the provided terminal. After connecting, follow the steps below:
- 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.
- 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 1400+ tech skills courses.