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

Print this page

        

*** 94,98 **** --- 94,104 ---- } f(); print(typeof a, typeof b, typeof c, typeof x, typeof z); + + let v = 1; + eval("print('v: ' + v); v = 2; print ('v: ' + v);"); + print("this.v: " + this.v); + print("v: " + v); +