3 ms·
http://jsperf.com/global-namespace-chain-vs-string-based-local-modules/5 http://jsperf.com/global-namespace-chain-vs-string-based-loc... As other people have m
by swannodette 16y ago
http://jsperf.com/global-namespace-chain-vs-string-based-local-modules/5 http://jsperf.com/global-namespace-chain-vs-string-based-loc...
As other people have mentioned, here we see identical perf when moving the add function lookup out of the inner loop.