SHARE
TWEET

Untitled

a guest Apr 21st, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function loadPage(pageName) {
  2.     import(`/pages/${pageName}.js`).then(page => {
  3.         showPage(page);
  4.     });
  5. }
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top