lodash intersection code example
Example 1: diff two arrays lodash
_.difference([2, 1], [2, 3]);
// => [1]
Example 2: lodash map
const _quote_filter = _.map(quote_state, (val, key) => { if (val) { return key }})console.log(_quote_filter) //=> [ 'btc', undefined, undefined ]