News for hackers. Stuff that matters.
Re:An Introduction to JavaScript's "this" by jmtulloss on Sunday September 27, 2009 @03:37PM (#847170)
I would never not use a prototype in production code, but prototypes are a different topic that I wanted to avoid for this article. I'm just trying to explain "this".

Also, your code isn't right. You're calling myHotDog.getCondiments instead of passing a reference to setTimeout.

Re:An Introduction to JavaScript's "this" by volida on Sunday September 27, 2009 @09:00PM (#847478)
Sorry, I wasn't clear enough. I didn't mean what you are explaining is wrong.