Home Reference Source
public class | source

arrays

Extends:

lib/make.js~make → arrays

Static Method Summary

Static Public Methods
public static

Returns an array containing random values generated by the supplied function

Static Public Methods

public static filledArray(fn: Function, limit: number): Array source

Returns an array containing random values generated by the supplied function

Params:

NameTypeAttributeDescription
fn Function

Function used to generate values

limit number

Length of the array

Return:

Array