Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* ORIGINAL CODE */
function increment(n) {
o.x += n;
}
var o = {
_x: 0,
get x() {
return this._x;
},
set x(n) {
this._x = n;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment