test/script/basic/es6/let-load.js

Print this page

        

*** 38,63 **** const c = 30; print("print local defs: " + a, c); } print("imported var: " + a); ! try { ! print("imported let: " + b); ! } catch (e) { ! print(e); ! } try { ! print("imported const: " + c); } catch (e) { print(e); } - top(); - try { ! block(); } catch (e) { print(e); } --- 38,60 ---- const c = 30; print("print local defs: " + a, c); } print("imported var: " + a); ! print("imported let: " + b); ! print("imported const: " + c); ! ! top(); try { ! block(); } catch (e) { print(e); } try { ! c = "foo"; } catch (e) { print(e); }