Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
defaultConstructorNotCallable.js
blob: 558f8dcc2f9abdd822af7c0795830636be5830ae [
file
] [
log
] [
blame
]
class
badBase
{}
assertThrowsInstanceOf
(
badBase
,
TypeError
);
class
badSub extends
(
class
{})
{}
assertThrowsInstanceOf
(
badSub
,
TypeError
);
if
(
typeof
reportCompare
===
'function'
)
reportCompare
(
0
,
0
,
"OK"
);