News for hackers. Stuff that matters.
Re:Functional JavaScript, Part 3: apply, call, and the argum... by mrsaint on Tuesday April 22, 2014 @02:17PM (#7629362)
Yes, it's very popular with JS to make code more modular. Remember that, although JavaScript is a object-oriented language, it isn't a class-based language - it's a prototype-based language.

The best way to grasp the idea is by following various code examples (and how and why they were implemented that way). Also, I found Douglas Crockford's video presentations on JS _extremely_ helpful. I have a list of them here:

https://www.zeitgeist.se/2014/03/26/list-of-helpful-javascri...

There are no comments on this comment yet.