JSFiddle - React, Tailwind, and code Playground

by fresheyeball

JavaScript

console.log(
	['123', '456', '789'].map(x =>
  	x.split('')
    .map(x => parseInt(x))
    .reduce((a,x) => a * x))
)