javascript console log key and values code example
Example 1: loop dictionary with key and value javascript
const object = {'a': 1, 'b': 2, 'c' : 3};
for (const [key, value] of Object.entries(object)) {
console.log(key, value);
}
Example 2: how to log to the console javascript
console.log('What you want to log here.');