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