JSFiddle - React, Tailwind, and code Playground

by klenwell

JavaScript

const nums = [1,2,3,4,5]
const results = nums.map((n) => n*n)
console.log(results)