Maxxton Interview Question

covert string 123 into number without using integer.parseInt