is console.log a function or a method js code example
Example 1: console.log javascript
console.log(10);
console.log('You can also log numbers')
Example 2: how to use console.log javascript
console.log("Hello world!");
console.log(10);
console.log('You can also log numbers')
console.log("Hello world!");