Skip to content

Instantly share code, notes, and snippets.

// Alpha
function Alpha(number = 0) {
this.number = number;
}
Alpha.prototype.isFactor = function(potentialFactor) {
return this.number % potentialFactor === 0;
}
Alpha.prototype.factors = function() {