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.
The additional error messages are useless, and for prime numbers they are plain wrong.
No random tests.
Different output types is a bad practice.
Prime factorization is a duplicate of many katas.
Typo in description
pFactors(7); //should return "13 is a prime number."
It should be pFactors(13) or //should return "7 is a prime number."