Write the JavaScript statement to log the current time on console? code example
Example 1: how to log to the console javascript
console.log('What you want to log here.');
Example 2: javascript log to console
const varName = 'this variable';
console.log(varName);