parser: less isNaN checks

Just came across this and it bugged me haha.

cc @dougwilson not sure if this matters, but usually these things consume some time iirc.

Related: parseInt could probably be changed to either `~~` or `>>0` (both parse integers without overhead fluff)