JSFiddle - React, Tailwind, and code Playground

by prozoroff

JavaScript

const squares = x => x*x;
alert([1,2,3,4].map(squares))