examples/webpack/dist/app.e100c23eefa4ef71b346.js
function(TYPE){
  var IS_MAP   = TYPE == 1
    , IS_EVERY = TYPE == 4;
  return function(object, callbackfn, that /* = undefined */){
    var f      = ctx(callbackfn, that, 3)
      , O      = toIObject(object)
      , result = IS_MAP || TYPE == 7 || TYPE == 2
          ? new (typeof this == 'function' ? this : Dict) : undefined
      , key, val, res;
    for(key in O)if(has(O, key)){
      val = O[key];
      res = f(val, key, object);
      if(TYPE){
        if(IS_MAP)result[key] = res;            // map
        else if(res)switch(TYPE){
          case 2: result[key] = val; break;     // filter
          case 3: return true;                  // some
          case 5: return val;                   // find
          case 6: return key;                   // findKey
          case 7: result[res[0]] = res[1];      // mapPairs
        } else if(IS_EVERY)return false;        // every
      }
    }
    return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
  };
}
function(TYPE){
  var IS_MAP   = TYPE == 1
    , IS_EVERY = TYPE == 4;
  return function(object, callbackfn, that /* = undefined */){
    var f      = ctx(callbackfn, that, 3)
      , O      = toIObject(object)
      , result = IS_MAP || TYPE == 7 || TYPE == 2
          ? new (typeof this == 'function' ? this : Dict) : undefined
      , key, val, res;
    for(key in O)if(has(O, key)){
      val = O[key];
      res = f(val, key, object);
      if(TYPE){
        if(IS_MAP)result[key] = res;            // map
        else if(res)switch(TYPE){
          case 2: result[key] = val; break;     // filter
          case 3: return true;                  // some
          case 5: return val;                   // find
          case 6: return key;                   // findKey
          case 7: result[res[0]] = res[1];      // mapPairs
        } else if(IS_EVERY)return false;        // every
      }
    }
    return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
  };
}
function ( TYPE ) { var IS_MAP = TYPE == 1 , IS_EVERY = TYPE == 4 ; return function ( object , callbackfn , that /* = undefined */ ) { var f = ctx ( callbackfn , that , 3 ) , O = toIObject ( object ) , result = IS_MAP || TYPE == 7 || TYPE == 2 ? new ( typeof this == 'function' ? this : Dict ) : undefined , key , val , res ; for ( key in O ) if ( has ( O , key ) ) { val = O [ key ] ; res = f ( val , key , object ) ; if ( TYPE ) { if ( IS_MAP ) result [ key ] = res ; // map else if ( res ) switch ( TYPE ) { case 2 : result [ key ] = val ; break ; // filter case 3 : return true ; // some case 5 : return val ; // find case 6 : return key ; // findKey case 7 : result [ res [ 0 ] ] = res [ 1 ] ; // mapPairs } else if ( IS_EVERY ) return false ; // every } } return TYPE == 3 || IS_EVERY ? IS_EVERY : result ; } ; }
0 -> Dict.forEach 1 -> Dict.map 2 -> Dict.filter 3 -> Dict.some 4 -> Dict.every 5 -> Dict.find 6 -> Dict.findKey 7 -> Dict.mapPairs
0 - > Dict . forEach 1 - > Dict . map 2 - > Dict . filter 3 - > Dict . some 4 - > Dict . every 5 - > Dict . find 6 - > Dict . findKey 7 - > Dict . mapPairs