()
| 42 | eval_alias(code4); |
| 43 | |
| 44 | function strict1() { |
| 45 | var exception = false; |
| 46 | try { |
| 47 | eval(code1); |
| 48 | } catch (e) { |
| 49 | exception = true; |
| 50 | assertInstanceof(e, SyntaxError); |
| 51 | } |
| 52 | assertTrue(exception); |
| 53 | |
| 54 | function strict2() { |
| 55 | var exception = false; |
| 56 | try { |
| 57 | eval(code2); |
| 58 | } catch (e) { |
| 59 | exception = true; |
| 60 | assertInstanceof(e, SyntaxError); |
| 61 | } |
| 62 | assertTrue(exception); |
| 63 | |
| 64 | function strict3() { |
| 65 | var exception = false; |
| 66 | try { |
| 67 | eval(code3); |
| 68 | } catch (e) { |
| 69 | exception = true; |
| 70 | assertInstanceof(e, SyntaxError); |
| 71 | } |
| 72 | assertTrue(exception); |
| 73 | |
| 74 | function strict4() { |
| 75 | var exception = false; |
| 76 | try { |
| 77 | eval(code4); |
| 78 | } catch (e) { |
| 79 | exception = true; |
| 80 | assertInstanceof(e, SyntaxError); |
| 81 | } |
| 82 | assertTrue(exception); |
| 83 | } |
| 84 | strict4(); |
| 85 | } |
| 86 | strict3(); |
| 87 | } |
| 88 | strict2(); |
| 89 | } |
| 90 | strict1(); |
no test coverage detected