Hacker News new | ask | show | jobs
by davedx 4565 days ago
Not quite right. :-) JavaScript is not truly OO. You can have a prototype method called from a callback and find that 'this' will not necessarily be the value of the object it was prototyped onto.

It's really tricky, and I often have to .bind functions after I've noticed they're not working.