You need Login/Signup to run/submit the code.
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);