Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one liner array filter and reduce solution in Clear category for [old] Digits Multiplication by imtiaz.rahi
function digitsMultip(data) {
return Array.from("" + data).filter(x => x != 0).reduce((a, b) => a * b, 1);
}
Sept. 12, 2019
Comments: