2 ms·
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 o
by davedx 13y 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.