r/javascript • • Mar 09 '15

Things every JavaScript developer should know

http://ilikekillnerds.com/2015/03/things-every-javascript-developer-should-know/
326 Upvotes

118 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Mar 09 '15

Apply and call allow execution of a function by reference with something explicit passed in as a value for this. If you don't use this then you don't need call or apply. Call, apply, and bind are all new with ES5. I absolutely promise you can program large elegant decomposable applications without these.

0

u/[deleted] Mar 09 '15

[deleted]

-1

u/[deleted] Mar 09 '15

I guess so, but I just never saw anybody use these before ES5.

1

u/MrBester Mar 09 '15

Not looked at the code for jQuery then? It's everywhere.