Javascript command ot print to the console?
EdMcDougal (2)

What is the command to print to the console in the repl for javascript?

Something like "print" in python on "echo" in Bash.

You are viewing a single comment. View All
JustARatherRidi (190)

The function is console.log() :)

Example:

console.log(10);
// Prints out '10' to the console