Sign in
webkit
/
WebKit
/
e989104b1acb3d3feb9a3c81be0ba4526409d99b
/
.
/
JSTests
/
es6
/
Object_static_methods_Object.setPrototypeOf.js
blob: fd3c1ccff05c6de5cdc08921c4c51159f8770b3d [
file
] [
log
] [
blame
]
function
test
()
{
return
Object
.
setPrototypeOf
({},
Array
.
prototype
)
instanceof
Array
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);