Re:JavaScript Performance MythBusters (via jsPerf)
by jdd on Saturday March 17, 2012 @03:04PM
(#3717867)
There is absolutely no need to use `void 0` you can simply use `typeof` or create a local `undefined` var. Many libs do this in their IIFE `(function(undefined) { /* your code */ }());`. The point was there isn't a real world performance concern to justify using one over the other.
[ Parent
| on HN ]
There are no comments on this comment yet.