Guest User

Untitled

a guest
Dec 15th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. // This throws 'TypeError: "something" is not a function'.
  2. const myString = "something"
  3. (() => { ... })();
  4.  
  5. // This is correct.
  6. const myString = "something";
  7. (() => { ... })();
Add Comment
Please, Sign In to add comment