Prime factors

Write a function to return an array for prime factors of a number

example:

primeFactors(69);
// [3, 23]


Share Comments