Question d’entretien chez Fast Enterprises

Coding question: write function isPrime and explain your process