Sign in
webkit
/
WebKit
/
ba185f33ea04d42647d419285be42e2f7c244fee
/
.
/
JSTests
/
es6
/
Array_is_subclassable_Array.prototype.filter.js
blob: 7b75b0b60be25c3d5b7512007ec09f70aa5676d9 [
file
] [
log
] [
blame
]
function
test
()
{
class
C extends
Array
{}
var
c
=
new
C
();
return
c
.
filter
(
Boolean
)
instanceof C
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);