would splice work ?
const fishes = {
fish1: {
name: "Pacific Halibut",
image: "/images/hali.jpg",
},
fish2: {
name: "Lobster",
image: "/images/lobster.jpg",
}
}
Why not just: delete fishes.fish1;
Обсуждают сегодня