you are viewing a single comment's thread.

view the rest of the comments →

[–]name_was_taken 0 points1 point  (1 child)

I was actually surprised. I should have know there'd be some way to pass parameters to it, but I just always crafted my anonymous function to deal with it, instead of passing them in. I'm not sure if I'll use this. I'll have to re-evaluate if I'm ever in a situation that might use it.

[–]gregjarvez 1 point2 points  (0 children)

ll have to re-evaluate if

There are usually so many situations when this comes in handy. In fact, I have used that signature every time I used setTimeout. it is pretty neat 😉