lodash collection code example
Example 1: lodash map
const _quote_filter = _.map(quote_state, (val, key) => { if (val) { return key }})console.log(_quote_filter) //=> [ 'btc', undefined, undefined ]
Example 2: node lodash documentation
$ npm i -g npm$ npm i --save lodash