Sign in
webkit
/
WebKit
/
c2d3d0c4c2af6b5bbb4b2ae673a19cb040040278
/
.
/
JSTests
/
es6
/
Array_is_subclassable_Array.of.js
blob: 86692b2a0d8b039e390619780bf6f17f09a1f90c [
file
] [
log
] [
blame
]
function
test
()
{
class
C extends
Array
{}
return
C
.
of
(
0
)
instanceof C
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);