toString Radix
for (let i = 2; i < 36; i++) {
console.log((234).toString(i), ` = 234 in base ${i}`)
}
Use the radix argument of toString
for (let i = 2; i < 36; i++) {
console.log((234).toString(i), ` = 234 in base ${i}`)
}
Use the radix argument of toString