You may wanna add a radix here, to be safe. That is, pass `10` as the 2nd argument to `parseInt`.