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