environment_script.js (812B)
1 let strict = (function() { return this; })() === undefined; 2 3 // Allow this to be used as a JSM 4 var EXPORTED_SYMBOLS = []; 5 6 if (!strict) vu = 1; // Unqualified Variable 7 var vq = 2; // Qualified Variable 8 let vl = 3; // Lexical 9 this.gt = 4; // Global This 10 eval("this.ed = 5"); // Direct Eval 11 (1,eval)("this.ei = 6"); // Indirect Eval 12 (new Function("this.fo = 7"))(); // Dynamic Function Object 13 if (!strict) (function() { this.fi = 8; })(); // Indirect Function This 14 function fd_() { this.fd = 9; }; if (!strict) fd_(); // Direct Function Implicit