whatsthecodeforthat.com

What's the code for Parsing an Integer in javascript?

var i = parseInt(str);