This commit is contained in:
Toshit Chawda 2024-12-11 13:15:12 -08:00
parent 00de00e7ca
commit cb2ab0cedd
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
36 changed files with 1825 additions and 1355 deletions

27
rewriter/native/test.js Normal file
View file

@ -0,0 +1,27 @@
window.location.href = "http://example.com";
console.log(top.window.aaa);
consle.log(globalThis["win" + "dow"]);
globalThis.eval("..");
let ref = { b: this.top.window, c: globalThis["win" + "dow"] };
export default ref;
export { ref };
export { ref as default };
export { S } from "module";
export * from "module";
import sd from "d"
location += "http://example.com";
function f() { return import("x") }
let window = (1, window);