Skip to content

Instantly share code, notes, and snippets.

@kurt-liao
Last active August 24, 2022 08:33
Show Gist options
  • Save kurt-liao/f67684fea2a164a90d332de790dfe310 to your computer and use it in GitHub Desktop.
Save kurt-liao/f67684fea2a164a90d332de790dfe310 to your computer and use it in GitHub Desktop.
// usage.mjs
import { output } from "./awaiting.mjs";
export function outputPlusValue(value) { return output + value }
console.log(outputPlusValue(100));
setTimeout(() => console.log(outputPlusValue(100), 1000));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment