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
I added a few more tests to the sample test case, closed off the parentheses, and made the "not zero" text in the description bold.
Won't work for most of the world's languages...
You don't have to specify return as a ternary, it can just be the caparison as it by default returns a boolean
You're correct, standard convention is to add semicolons but newer versions (ES2015 => ES2020) of EcmaScript or JS have situations where the semicolon is "inserted automatically", more information on that here: https://www.ecma-international.org/ecma-262/#sec-rules-of-automatic-semicolon-insertion
If you're not used to the ES2015+ way then it's fine to write JS with semicolons, it's good for readability and ultimately Bable or other compilers will fix your JS to meet legacy standards to be read by all browsers anyways. https://babeljs.io/docs/en/
Recovered image.
Can this problem be either removed or updated considering the dead image link?
It cannot be completed due to the image missing and the lack of information in the description.
This comment is hidden because it contains spoiler information about the solution