rwaldron / idiomatic.js

Principles of Writing Consistent, Idiomatic JavaScript
Other
24.83k stars 3.48k forks source link

added bitwise type conversion notes with NaN and nonnumerical values #121

Open brigand opened 11 years ago

brigand commented 11 years ago

When isNaN(parseInt(x)), then (x | 0) !== parseInt(x, 10).