Sign in
webkit
/
WebKit
/
60bd2dd877919d576482f687e5edc43a064b5f1a
/
.
/
JSTests
/
es6
/
class_extends_expressions.js
blob: 01b0523c1cf15ee41f5260496ff75def3c7af957 [
file
] [
log
] [
blame
]
function
test
()
{
var
B
;
class
C extends
(
B
=
class
{})
{}
return
new
C
()
instanceof B
&&
B
.
isPrototypeOf
(
C
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);