• Invokes the iteratee n times, returning an array of the results of each invocation.

    Differences from lodash:

    • has undefined behavior when given a non natural number for n
    • does not provide a default for iteratee

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 1,920 bytes
    • Micro-dash: 76 bytes

    Type Parameters

    • T

    Parameters

    • n: number
    • iteratee: ((index) => T)
        • (index): T
        • Parameters

          • index: number

          Returns T

    Returns T[]

Generated using TypeDoc