← Back to JavaScript exercises

50. LCM

Result appears here
const n=153;output.textContent=[...String(n)].reduce((a,d)=>a+Number(d)**3,0)===n;