Skip to content

Instantly share code, notes, and snippets.

@enjalot
Forked from tmcw/parseint.js
Created April 26, 2013 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/5469255 to your computer and use it in GitHub Desktop.
Save enjalot/5469255 to your computer and use it in GitHub Desktop.
parseInt('04foo');
+'04foo';
+'1.5';
+'1e-4';
+'-.2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment