r/javascript • • May 28 '19

What are some JavaScript things beginners don't know?

333 Upvotes

383 comments sorted by

View all comments

Show parent comments

5

u/[deleted] May 28 '19

[removed] — view removed comment

7

u/[deleted] May 28 '19

I would guess 2 for the inner log, and 1 for the outer log. Am I mistaken?

5

u/[deleted] May 28 '19

[removed] — view removed comment

-1

u/[deleted] May 28 '19

No doubt about it, JS isn’t easy, however, the above list is still accurate and the nuance of the question has to do with IIFE’s, not a different type of ‘this’ binding.

→ More replies (1)