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.
This comment is hidden because it contains spoiler information about the solution
yep most teams in my experience default to using them, and it's not a bad choice. know the rules so you can break them. again it's a stylist choice.
eslint: "always" (default) requires semicolons at the end of statements
https://eslint.org/docs/latest/rules/semi
A stylistic choice. JS doesn't require semi-colons, the interpreter automatically adds them.
https://www.freecodecamp.org/news/lets-talk-about-semicolons-in-javascript-f1fe08ab4e53/
Why you skip ';' in the end return statement?
Thanks for pointing that out, didn't realize that when I was first learning to code.
You don't need to use
break
afterreturn
Does a ternary operator not count as a conditional statement?
This solution is not OK. Is not checking if volume divided by n is integers. If you try (27,8) your solution will return true, which is not correct.
My first thought with this Kata was to try absolute value. I knew though that your solution was what I would end up with.
It is fun to try and solve some Kata in an unorthodox way though.
no need for the Math.abs function since -number already gives the opposite value
Thanks!! =) Codewars, best of the best)
At the moment, it seems there is a problem at CodeWars. But as you see in site-events, your honor-points are not lost. :-)
I suppose, Jake will fix it soon.
Hello! I finished several kata, but honnor was not increase. why did this happen? could me help?=)
https://www.codewars.com/users/FilippovAM/site-events show me 293 honnor?