JSFiddle - React, Tailwind, and code Playground
by evgkch
JavaScript
const fn = (...props) => console.dir(...props);
const test = Array.from({ length: 2 }, fn);
console.log(test)
by evgkch
const fn = (...props) => console.dir(...props);
const test = Array.from({ length: 2 }, fn);
console.log(test)