I search a lots but what I got is how to merge objects and keeps properties of both. How about keep only the same props only? For example:
const obj1 = {a: 1, b:2, c:3}
const obj2 = {a: 3, b:3, d:5, e:7}
Is there any way to create an obj3 which is {a:3, b:3} (only keep props in both objects)?