Property setters should not be called for bound arguments list entries.
[WebKit-https.git] / JSTests / stress / property-setters-should-not-be-called-for-bound-arguments-list-entries.js
1 Object.defineProperty(Array.prototype, "0", {
2     set: () => {
3         throw "ERROR: setter should not be called for bound arguments list";
4     }
5 });
6
7 function dummy() { }
8 var f = dummy.bind({}, 1, 2, 3, 4);