- 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 value1
.
console.log()
as a tool to test our code. console.log(1);
console.log()
simply displays information in your JavaScript console — in this case the value 1
.