Question d’entretien chez Fast Enterprises

How would you create a function "isPrime()"?