JSFiddle - React, Tailwind, and code Playground
by prozoroff
JavaScript
const numbers = [1,2,3,4];
const square = x => x * x;
numbers[1] //2
numbers.map(square); //[1, 4, 9, 16]
by prozoroff
const numbers = [1,2,3,4];
const square = x => x * x;
numbers[1] //2
numbers.map(square); //[1, 4, 9, 16]