April 2008
1 post
Prototype Creation →
Andrea Giammarchi:
“What we have to do each time is to remember that when we need a private method, with our instance injected scope, we have to write in an unnatural way.”
While Andrea is one of the worst writers on JavaScript I’ve ever read, and his code is almost always wrong in so many ways, he does have some fun ideas.
We use this method he proposes all the time in Dojo to...