How To Convert String To Int Javascript Interview