Explore 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:
- 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:
Read more here: Source link
