|
|
|
|
|
by Xichom2k
2836 days ago
|
|
Due to javascript's funky notion of object methods. If you just pass the function reference itself invoking it will execute it with a |this| set to undefined. Put differently, a property access x = foo.bar followed by x() is not the same as foo.bar() |
|