Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
derivedConstructorTDZReturnObject.js
blob: 48206a881e1a949668917fb14d5ba7e34cb86106 [
file
] [
log
] [
blame
]
class
foo extends
null
{
constructor
()
{
// If you return an object, we don't care that |this| went
// uninitialized
return
{};
}
}
for
(
let i
=
0
;
i
<
1100
;
i
++)
new
foo
();
if
(
typeof
reportCompare
===
'function'
)
reportCompare
(
0
,
0
,
"OK"
);