shedges34

dynamic import

Apr 27th, 2021 (edited)
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //title.js
  2. export const gametitle = "My Rogue";
  3.  
  4.  
  5. //main.js
  6. (async function(w) {
  7.   const {gametitle} = await import('./title.js');
  8.  
RAW Paste Data