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