How to Convert a String to an Integer in JavaScript | CodeTrail