Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / dist / loop / each / forInUnguarded.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * @desc loop for in, no checks on hasOwnProperty, useful for flattening proto
 * @since 5.0.0-beta.6
 * @memberOf loop
 * @curried 2
 *
 * @param collection collection to iterate
 * @param iteratee The function invoked per iteration
 * @return collection
 */
function forInUnguarded(collection, iteratee) {
    // eslint-disable-next-line
    for (var prop in collection)
        iteratee(collection[prop], prop, collection);
    return collection;
}
exports.default = forInUnguarded;
//# sourceMappingURL=forInUnguarded.js.map