Skip to content

Instantly share code, notes, and snippets.

@qnighy
Created November 25, 2022 07:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save qnighy/35f0f8b4c33636e05848508d98bbd8a7 to your computer and use it in GitHub Desktop.
import * as m1 from "./foo.mjs";
const m2 = await import("./foo.mjs");
const result = m1 === m2;
console.log(result);
export function then(f) {
f(42);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment