blob: 929d65e782840993a6838129022d1fa27c7a1c7c [file] [log] [blame]
jfbastien@apple.comf18b7de2017-11-29 17:46:26 +00001let warm = 1000;
2
3function bar() {
4 for (let i = 0; i < warm; ++i)
5 arguments.callee;
6}
7
8function baz() {
9 "use strict";
10 arguments.callee;
11}
12
13bar();
14
15let caught = false;
16
17try {
18 baz();
19} catch (e) {
20 caught = true;
21}
22
23if (!caught)
24 throw new Error(`bad!`);