Advertisement
Guest User

Untitled

a guest
Feb 20th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. async function app() {
  2. let x;
  3. const y = new Map();
  4. console.log('App entry point')
  5. console.log(x?.y ?? 1)
  6. await new Promise(r => setTimeout(() => r(), 500))
  7. console.log('App finished')
  8. };
  9. app();
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement