So i want to filter object of objects, and print all of them except one, which i specify by key.
const obj = {1: {age: 10}, 2: {age: 20}};
console.log(obj);
So i must have option to somehow specify that i don't want the obj[1] to be printed. How do i do that? : |
- I don't want to delete anything from it.