console.log({}) syntax js code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: log javascript
console.log(variable)
const varName = 'this variable';
console.log(varName);
console.log(variable)