dist/objectSubset.js
function createSubset(keywords, doc) {

    if (!keywords || Object.prototype.toString.call(keywords) !== '[object Array]') {
      return doc;
    }

    var lookup = createLookUp(keywords);

    return traverseThroughObject(lookup, doc);

  }
function createSubset(keywords, doc) {

    if (!keywords || Object.prototype.toString.call(keywords) !== '[object Array]') {
      return doc;
    }

    var lookup = createLookUp(keywords);

    return traverseThroughObject(lookup, doc);

  }
function createSubset ( keywords , doc ) { if ( ! keywords || Object . prototype . toString . call ( keywords ) !== '[object Array]' ) { return doc ; } var lookup = createLookUp ( keywords ) ; return traverseThroughObject ( lookup , doc ) ; }
createSubset is initializing the creation of the subset.
If keywords is not an array return doc immediately.
createSubset is initializing the creation of the subset . If keywords is not an array return doc immediately .