Sign in
webkit
/
WebKit
/
222270c7d163dc79981add5f0126168079962a4c
/
.
/
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"
);