Sign in
webkit
/
WebKit
/
c2d3d0c4c2af6b5bbb4b2ae673a19cb040040278
/
.
/
JSTests
/
es6
/
Object.prototype.__proto___set_prototype.js
blob: cbeee6c7a871d56689039072adcda6dfd285399b [
file
] [
log
] [
blame
]
function
test
()
{
var
o
=
{};
o
.
__proto__
=
Array
.
prototype
;
return
o instanceof
Array
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);