JavaScript Node.js Basics Introduction to Node.js The Console

Prerna Jena
Prerna Jena
384 Points

Review the code

const name = "Andrew"; const details = { favouriteLanguage: "JavaScript", age: 33, children: 3 } const errorMessage = "Something bad has occurred";

app.js
const name = "Andrew";
const details = { favouriteLanguage: "JavaScript", age: 33, children: 3 } 
const errorMessage = "Something bad has occurred";
Steven Parker
Steven Parker
172,267 Points

It doesn't look like you've written any code yet.
The instructions say, "Use the log method on the console object to print out the name variable."