console log a function in javascript code example
Example 1: how to log to the console javascript
console.log('What you want to log here.');
Example 2: how to use console.log javascript
console.log("Hello world!");
console.log('What you want to log here.');
console.log("Hello world!");