Sign in
webkit
/
WebKit
/
3480786af6abe0fbd0f86124e6c6350c8ceacd89
/
.
/
JSTests
/
es6
/
Reflect_Reflect.setPrototypeOf.js
blob: 1adbdcf788425f5b3deaa622d94380aecd711b21 [
file
] [
log
] [
blame
]
function
test
()
{
var
obj
=
{};
Reflect
.
setPrototypeOf
(
obj
,
Array
.
prototype
);
return
obj instanceof
Array
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);