]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/arguments-bizarre-behaviour-disable-enumerability.js
2 Object
.defineProperty(arguments
, 0, {configurable: true, enumerable: false, writable:true, value:42});
3 return [x
, arguments
[0], arguments
]
14 if (Array
.prototype.join
.call(result
[2], ",") != "42")
18 for (var s
in result
[2])
21 if (array
.join(",") != "0")
24 if (Object
.keys(result
[2]).join(",") != "0")
27 // FIXME: This is totally weird!
28 // https://bugs.webkit.org/show_bug.cgi?id=141952
29 if (Object
.getOwnPropertyDescriptor(result
[2], 0).enumerable
!== true)