import-in-lazy-function.js (183B)
1 // |jit-test| module 2 3 // Test that accessing imports in lazily parsed functions works. 4 5 import { a } from "module1.js"; 6 7 function add1(x) { 8 return x + a; 9 } 10 11 assertEq(add1(2), 3);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |