DEV Community

Discussion on: JavaScript Katas: Seconds To Minutes And Hours

Collapse
 
aissshah profile image
aishah

Thanks for this post. It was interesting to see how you approached the problem, broke it down and came up with different solutions.
I prefer the floor method as it looks cleaner to me and more concise. Why write 15 lines when you can write 4? Though let me know if I am wrong.

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Why write 4 lines when you can write 1? 😁

Collapse
 
miku86 profile image
miku86

Hey there,

I think it's a good to stay sharp,
so I try to come up with different solutions,
depending on how much I enjoy the problem.