Sign in
webkit
/
WebKit
/
a0e4dc93e6a001b03668745852a9ac9f6a2da33e
/
.
/
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"
);