Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
strict-eval-loop-error.js
blob: f09ad440282cbccbadbb200d6d991e52b962c7c8 [
file
] [
log
] [
blame
]
var
COUNT
=
9
;
eval
(
"'use strict'; for (let j = 0; j < COUNT; j++); try { x; throw new Error(); } catch (e) { if (!(e instanceof ReferenceError)) throw e; }"
);
assertEq
(
typeof
j
,
"undefined"
);