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.
...it doesn't?
what does it mean when it says 0.25 equals 4
OP solved it, closing
OP solved it, closing
n gostei n
This comment is hidden because it contains spoiler information about the solution
Not true in Rust.
Fixed in this fork.
I get an error by creating an empty array (like const arr = [])
It was very easy but instructions were... unclear. Good luck you all too. Remember - it is easy!
Wrong returned grade. OP unlocked / solved it, closing
In its current state, your comment doesn't help understand what your problem is. Please use appropriate code formatting (w/ triple backticks).
Because from what I can tell, you're iterating through every integer from 1 to
base
and returning true as soon as one of those is a factor of the base. This always immediately returns true because you check for 1 (and also the base, but the program doesn't even get to it).You are given a
factor
argument, use it.Could be interesting to make a harder version of this that tests for 0 as well
This comment is hidden because it contains spoiler information about the solution
You are meant to assign 4 variables a value each, not write helper functions or something else. You should click "reset" button and try again :P
Loading more items...