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 #111

Enroll for March 2nd, 2026