There was an error while loading. Please reload this page.
Obtain keys present in all objects.
Similar: intersectionKeys, intersection. Similar: isDisjoint, union, intersection, difference, symmetricDifference.
function intersectionKeys(...xs) // xs: objects
const object = require('extra-object'); var x = {a: 1, b: 2, c: 3, d: 4}; var y = {b: 20, c: 30, e: 50}; object.intersectionKeys(x, y); // → Set(2) { 'b', 'c' }