Binary ops
Use js escape
Bitwise OR/AND for booleans
Use ternary op to avoid parens
Strip trailing LF
Use ASI: remove useless ; before }
Move part of loop body into counting expression
Increment
Use expression as (unused) function argument
Exploit coercion
Merge pull request #1 from subzey/golf

996 bytes