JSFiddle - React, Tailwind, and code Playground

by fergmux

JavaScript

const em = [{
emD: 5,
thing: 6,
thing2: 7
}]

console.log(em.map(
        // eslint-disable-next-line @typescript-eslint/no-unused-vars
        ({ emD, ...x }) => x
      ))