Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
How does adding 0.01 improve rounding here? thanks.
This might be a very simple function, but it's basically unreadable. Makes maintaining a codebase a lot harder. Same function just with more descriptive variable names and a comment or two and you should be set.
Shorter does not always equal better.
Hint: dont waste your time on it
how stupid is this logic.
after 2 undo and 2 redo x should equal 50.
why it is not like this?
This comment is hidden because it contains spoiler information about the solution
Im very new to javascript so my solution is terribly ugly compared to this. Can you explain how yours is working? I don't even know where to start.
How to round it in JS ??
Nice shortcut.
Readability left the chat 🤣
amazing job tho ಠ_à²
Holy moly O_o
Same for me
Very nice. Thanks for this, I did not know that (following is LLM generated):
You can use JavaScript’s default parameters to add extra functionality. In this case, the 4th argument, which would be the array, is ignored (_), and instead, a default value is calculated based on the 3rd argument (c % 2)
Finally there is smth outstanding
I think yes, it should be optimized a bit
Most users voted 6 kyu, and the remaining ones voted 4 kyu. Oh boy, a proper reference scale is nowhere to be seen.
Loading more items...