Re:Console.log with style
by kevingadd on Friday April 12, 2013 @05:05PM
(#5541007)
This will severely degrade performance in almost every scenario. I don't recommend doing it by default, though it is a nice feature to have. Sometimes you want to be able to call console.log a few times per frame in a game without your framerate dropping into the single digits.
[ Parent
| on HN ]
Re:Console.log with style
by cristiantincu on Friday April 12, 2013 @05:42PM
(#5541239)
Calling `console.log()` in “production mode” is a bad idea, anyway.
Ideally, you’ll want those calls stripped at some point, in your build script.