you can also use Array.some() function: const arr = [ { id: 19, cost: 400, name: 'Arkansas', height: 198, weight: 35 }, { id: 21, cost: 250, name: 'Blofeld' ...
確定! 回上一頁