equal
deleted
inserted
replaced
38 const c = 30; |
38 const c = 30; |
39 print("print local defs: " + a, c); |
39 print("print local defs: " + a, c); |
40 } |
40 } |
41 |
41 |
42 print("imported var: " + a); |
42 print("imported var: " + a); |
43 try { |
43 print("imported let: " + b); |
44 print("imported let: " + b); |
44 print("imported const: " + c); |
45 } catch (e) { |
|
46 print(e); |
|
47 } |
|
48 |
|
49 try { |
|
50 print("imported const: " + c); |
|
51 } catch (e) { |
|
52 print(e); |
|
53 } |
|
54 |
45 |
55 top(); |
46 top(); |
56 |
47 |
57 try { |
48 try { |
58 block(); |
49 block(); |
59 } catch (e) { |
50 } catch (e) { |
60 print(e); |
51 print(e); |
61 } |
52 } |
62 |
53 |
|
54 try { |
|
55 c = "foo"; |
|
56 } catch (e) { |
|
57 print(e); |
|
58 } |
63 |
59 |
|
60 |