SwitchUp SwitchUp Ranked Best Coding Bootcamps 2025

Why is it that parseInt(8,3) == NaN and parseInt(16,3) == 1?

Altcademy Team wrote on 7 February 2018


Trusted by

Students and instructors from world-class organizations

Join the upcoming Cohort #114

Enroll for June 1st, 2026