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.
You can use
console.log
to print the arguments to your function. That way, you can find out what the input was when your function failed.My guess is that your program thinks 1 is a prime.
Hey there. My unsubmitted solution works for every test except a single (1/111) random one. The test expects false, but instead gets a true. It happens every time I attempt to submit.
If there's some edge case I'm missing, what might that be?