SHARE
TWEET

Untitled

a guest Apr 21st, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. async function loadPage(pageName) {
  2.     const page = await import(`/pages/${pageName}.js`);
  3.     showPage(page);
  4. }
RAW Paste Data
Top