Returns the divisors of a number.
Number
// Returns the array [1, 2, 4, ... , 250000, 500000, 1000000]const divisors = Chalkboard.numb.divisors(1000000); Copy
// Returns the array [1, 2, 4, ... , 250000, 500000, 1000000]const divisors = Chalkboard.numb.divisors(1000000);
Generated using TypeDoc
Returns the divisors of a number.