scramjet/rewriter/test.js
2024-07-26 22:06:13 -07:00

29 lines
445 B
JavaScript

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);