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.
Ooops, killed my solution!
I still don't understand what 0, null,or Math does...
i have a similar solution but yours is way more elegant
I think it would have been better if you had tried to get to the algorithm properly. You would have learned more. Using the solution is good when you already know how to get to the solution.
A little disappointing to see that there is already a solution to the problem. Surely that function uses the same algorithms that we are supposed to write. But using this solution takes away all the fun from the problem. It's literally like writing a "hello world." The only value of the kata itself is having discovered that this function exists, I guess.
This is beautiful
sUPPER
What are the [] for inside the ()? It works without, just wondering the logic :)
unnecessary complicated
Me and my 60 lines of code ...
Why Object.assign(this, {firstName}) is used here instead of this.firstName=firstName? I haven't seen this method mentioned in a JavaScript book.
upd: copies into an object... Genius!
I hope that if I keep trying, problems like this will be easier.. right? :*)
whole numbers, integers, and decimals, floats, are different kinds of numerical data. There is no need to worry about floats because that isnt the data being tested.
I don not understand why come here to practice and answer just by using built-in methods.
This comment is hidden because it contains spoiler information about the solution
Loading more items...