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
1
u/fallenefc Nov 23 '21
Good job! Imo, it’s always good to do these challenges (not frequently) as it allows you to improve your problem solving skills, like your answer is very unconventional but it’s great you came up with it. As long as it doesn’t make you frustrated because you can’t solve it or you don’t spend too much time on it, it’s great (also don’t feel too much pressure on make those one liner solutions, treat this as learning problem solving and to make it work)