DEV Community

Discussion on: Get all separate digits of a number (TypeScript)

Collapse
 
amarok24 profile image
Jan Prazak

Thanks for the jsbench link, seems to be a very usefuly online tool, I will save that.
And about the different solution with toString conversion, yes, why not, if you prefer type conversion and the map method. They are definitely many solutions to the same problem.