JSFiddle - React, Tailwind, and code Playground

by luka kupunia

JavaScript

const arr = [1,2,3]

console.log(arr.map(el => [el * 2]))