a guest Feb 27th, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. What is different Between const, let, var
  2. What is closure
  3. In what order will this code execute:
  4. console.log('1');
  5. setTimeout(function() {
  6.     console.log('2');
  7. })
  8. console.log('3');
  9. setTimeout(function() {
  10. console.log('4')
  11. }, 200);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand