1 2 3 4 5 6 7 8
function foo() { Object.defineProperty(this, "valueOf", ({value: 0, writable: true})); Object.freeze(this); } for (var i = 0; i < 100; i++) { foo.call(''); }