export function isPrime(value) {
// implementar logica aqui
let x = 0;
for(let i = 0; i <= value; i++)
if(value % i === 0)
x++;
return x === 2;
}