Skip to content

Instantly share code, notes, and snippets.

@piscisaureus
Last active June 6, 2021 04:56
Show Gist options
  • Save piscisaureus/53e436c2570e451113079eb195a4ea3e to your computer and use it in GitHub Desktop.
Save piscisaureus/53e436c2570e451113079eb195a4ea3e to your computer and use it in GitHub Desktop.
import "./mod_a.js";
await 0;
import "./mod_b.js";
const React = {
createElement(...args) { console.log(this, ...args); return new String("ReactElement"); }
};
const foo = (...args) => { console.log(this, ...args); return "FooEl"; };
console.log(<foo>a ${111} {222} $c</foo>);
console.log("bar");
console.log("in mod_a.js");
import "./mod_c.js";
console.log("in mod_b.js");
import "./mod_c.js";
console.log("in mod_c.js");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment