An example in javascript on how to calculate primes
- JavaScript 61%
- HTML 39%
| index.html | ||
| Primality.js | ||
| Primality.spec.js | ||
| README.md | ||
Using an algorithmically efficient means to calculate if a number is prime or not. Also uses a simple Jasmine unit test to demonstrate it.