Sign in
webkit
/
WebKit
/
2e2cb00ac8a118644a070f63a7b5ac6a2db0e0aa
/
.
/
JSTests
/
es6
/
Array_is_subclassable_Array.from.js
blob: 3a98548e8c28b50c75bbbe801b5182eafb3f4601 [
file
] [
log
] [
blame
]
function
test
()
{
class
C extends
Array
{}
return
C
.
from
({
length
:
0
})
instanceof C
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);