here is the solution to find a number is prime or not
//javascript
function isPrime(num){
if(num <= 1) return false;
if(num <= 3 ) return true;
if(num%2 === 0 || num%3 === 0) return false;
return true;
}