Source code
Revision control
Copy as Markdown
Other Tools
Object.defineProperty(Object.prototype, 1, {get: function() { this.foo++; return 23 }});
assertEq([1,,].pop(), 23);
Object.defineProperty(Object.prototype, 1, {get: function() { this.foo++; return 23 }});
assertEq([1,,].pop(), 23);