Lines Matching full:eval
33 eval("const a");
34 try { eval("var a"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
36 try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
39 eval("const b = 0");
40 try { eval("var b"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
42 try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
45 eval("var c");
46 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
48 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
51 eval("var d = 0");
52 try { eval("const d"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
54 try { eval("const d = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }