Here is a shorter way of achieving it:
let result = objArray.map(a => a.foo);
or
let result = objArray.map(({ foo }) => foo)
let result = objArray.map(a => a.foo);
let result = objArray.map(({ foo }) => foo)
https://stackoverflow.com/questions/73524088/is-there-a-way-to-chain-multiple-tailwind-css-classes-on-a-single-hover-instance There is a wa...
Không có nhận xét nào:
Đăng nhận xét