Skip to content

Instantly share code, notes, and snippets.

@kurt-liao
Created July 20, 2022 13:18
Show Gist options
  • Save kurt-liao/347a763d7eed7fc7cd70b3b61140ae93 to your computer and use it in GitHub Desktop.
Save kurt-liao/347a763d7eed7fc7cd70b3b61140ae93 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