What is console.log in javascript

What is console.log in javascript

·

1 min read

  • We will use console.log() as a tool to test our code.
 console.log(1);
  • As you can see, console.log() simply displays information in your JavaScript console — in this case the value 1.