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

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...

https://www.devtools.tech/