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