0
Hours
0
Minutes
0
Seconds

How do you implement the following code snippet? [Property Access Increment]
@Yomesh Gupta

1496
const counter = {
  value: 0,
};

What modifications would you make to the above snippet / counter object so that output of the following expression would be 1 2 3.

console.log(counter.value, counter.value, counter.value);

Loading IDE...