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.
passed all test but..show the message " Correct! You may take your time to refactor/comment your solution. Submit when ready."
test output doesn't show values that are tested.
This comment is hidden because it contains spoiler information about the solution
Some solutions posted but other are incorrect, but they were able to pass the test.
Get unresponsive scrpt error multiple times. Have to stop script and reload page.
Terrible description. Should rewrite altogether
function PrimeTest(a){
return a>0 && a%2 >= 1 ?true:false;
};
is the solution for this task. add more test to prevent this.
Duplicate of http://www.codewars.com/kata/is-a-number-prime.
Check for the example cases: -17 is not a prime because is negative, period. And I presume "devided" is mispelled, as only "divided" should be a good form.
More and random test would be highly appreciated.
There are way more than enough prime number katas already.