Skip to content

Instantly share code, notes, and snippets.

@sloppyjuicy
Forked from piscisaureus/main.jsx
Created June 6, 2021 04:56
Show Gist options
  • Select an option

  • Save sloppyjuicy/e7da1dda64e87f3b62e65c04a3cbe7da to your computer and use it in GitHub Desktop.

Select an option

Save sloppyjuicy/e7da1dda64e87f3b62e65c04a3cbe7da 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