3 ms·
A newline takes up just as many bytes as a semicolon.
by suninwinter 16y ago
A newline takes up just as many bytes as a semicolon.
- pjscott 16y agoUnless you're using CR+LF as your newline delimiter.
- masklinn 16y agoBut if you have a newline you generally have an indent. Furthermore, there are places in JS where semicolons are absent and newlines are not (after braces).
- pjscott 16y agoIt's moot, anyway. Format your code for readability, and let a minifier handle making it smaller. Then let gzip finish the job.