2 ms·
The overhead of setting the var is negligible compared with the other things happening in the event loop.
by richcollins 17y ago
The overhead of setting the var is negligible compared with the other things happening in the event loop.
- invisible 17y agoI suspected so, but I thought I'd throw that in anyway (who knows - maybe it would matter on IE). I prefer not setting variables if they're unneeded regardless.