DEV Community

loading...

Discussion on: Daily Challenge #189 - Convert Number into Reversed Array

Collapse
wheatup profile image
Hao

The result should be an array of numbers but this yields an array of strings.
Maybe consider adding .map(Number) after .reverse()?

Forem Open with the Forem app