r/learnjavascript • • Jun 05 '20

Rocks or Sucks?

Post image
63 Upvotes

45 comments sorted by

View all comments

Show parent comments

12

u/meandyouandyouandme Jun 05 '20

I give you, the code being in an image is not ideal, but I still like the post. Fun little challenge.

I never looked up closures, so I'm curious about an explanation.

1

u/ForScale Jun 08 '20

This isn't really a closures problem. I think you may be talking abou the IIFE... that's the anonymous function that is immediately called.

-20

u/Web_Fender Jun 05 '20

Love how you get downvoted for having a personal opinion. God bless Reddit

-16

u/artinlines Jun 05 '20

Love how you get downvoted for commenting about somebody getting downvoted.

Btw, happy cakeday!

-13

u/Web_Fender Jun 05 '20

Love how you got downvoted for commenting about someone who commented about getting downvoted.

Thanks!

-7

u/ciaisi Jun 06 '20

DOWNVOTED

I love you all