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.
The true and false returns are not needed to be hard coded because once the condition is met is going to return true automatically, same if is not met it will return false
toFixed
function returns a string.You have to return a number.
So, while the results look the same, they are different.
This comment is hidden because it contains spoiler information about the solution