$ npm install @sets/intersectionReturn the intersection between two sets.
const intersection = require('@sets/intersection')
console.log(intersection(
new Set('hello'),
new Set('world')
)) // "lo"
$ npm install --save @sets/intersection
intersection(lhs, rhs) -> SetReturn the intersection between the sets represented by lhs and rhs. The
resulting set will contain all elements that appear in both lhs and rhs.
MIT