@juvian not an `int`, a number; JavaScript doesn't really have an integer type.
– PointyNov 03 '14 at 18:41
@Carpetsmoker not really. It works with floating point representations and even with parseFloat you would have many differences.
– Denys SéguretNov 03 '14 at 18:41
`+digit` is JS hack to turn string into a digit, it's like `digit >> 0` to floor (round `Math.floor`) the number.
– volter9Nov 03 '14 at 18:51
It is a little bit different from parseInt() because it converts string to a number as @t-j-crowder said already. It converts null to zero
– engincancanNov 03 '14 at 19:00