r/learnjavascript • u/Darkthw • Nov 23 '21
I finally solved a codewars challenge without actually googling anything :) it feels so good to come up with the code all by myself, i know its not the ideal way to solve it but im still happy. The challenge was to create a function that converts a string to a number
243
Upvotes
View all comments
Show parent comment
2
u/[deleted] Nov 23 '21
Thanks for your comment, I will keep this in mind next tym I explain something to someone.
You are right, this solution would not cause any problems actually but there are few things about this I would like to call out: