JavaScript:实现计算数字的等分和算法
function aliquotSum (input) {
// input can't be negative
if (input < 0) throw new TypeError('I
function aliquotSum (input) {
// input can't be negative
if (input < 0) throw new TypeError('I