I have an object with some keys
{
a: 1,
b: 2,
c: 3,
.....
}
I'm looking for the easiest way to keep only specific keys from the object
For example I want to clone this object and keep only "a" and "b"
The first object doesn't have specific keys, so I can't just delete "c"
I'm looking for the easiest way
Thanks