]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/object-prevent-extensions-accept-non-object.js
564febb794ab1eb56e25f39dc72ed574b9f3ab92
11 for (var primitive
of primitives
) {
12 var ret
= Object
.preventExtensions(primitive
);
13 if (ret
!== primitive
)
14 throw new Error("bad value: " + String(ret
));