What is wrong with this code?
const foo = {
bar() {
console.log('Hello, world!');
},
name: 'Albert',
age: 26,
};
What is wrong with this code?
const foo = {
bar() {
console.log('Hello, world!');
},
name: 'Albert',
age: 26,
};