You are viewing a single comment's thread. Return to all comments →
JS
function findDigits(number) { let acc = 0 number .toString() .split('') .forEach((digit) => { (number % digit === 0) ? acc++ : '' }) return acc; }
Seems like cookies are disabled on this browser, please enable them to open this website
Find Digits
You are viewing a single comment's thread. Return to all comments →
JS