js how log a whole function to the console code example
Example 1: console.log javascript
console.log(10);
console.log('You can also log numbers')
Example 2: javascript log to console
const varName = 'this variable';
console.log(varName);
console.log(10);
console.log('You can also log numbers')
const varName = 'this variable';
console.log(varName);