How to convert a string to an integer in JavaScript

Published --