4 ms·
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 "
by jmtulloss 17y ago
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.
- deleted 17y ago[deleted]
- volida 17y agoSorry, I wasn't clear enough. I didn't mean what you are explaining is wrong.