2 ms·
When I was learning more about this, I found this[1] article to be of great help. I think the key idea is that JS is a prototype-based OO model. It's easy to f
by chrishenn 13y ago
When I was learning more about this, I found this[1] article to be of great help.
I think the key idea is that JS is a prototype-based OO model. It's easy to forget because there are so many abstractions[2] that act like a JS is a static class based OO language.
[1] http://dmitrysoshnikov.com/ecmascript/chapter-7-1-oop-general-theory/ http://dmitrysoshnikov.com/ecmascript/chapter-7-1-oop-genera...
[2] http://coffeescript.org/#classes http://coffeescript.org/#classes