const removeSecond = () => { // Find the index of the object to be removed const secondIndex = fruits.findIndex((fruit) => fruit.id === 2); // ...
確定! 回上一頁