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