ArrayUtils#numberArray()

numberArray(start, end) → {Array.<number>}

Create an array representing the inclusive range of numbers (usually integers) in [start, end].
This is equivalent to numberArrayStep(start, end, 1).

Parameters
Name Type Description
start number

The minimum value the array starts with.

end number

The maximum value the array contains.

Returns
Array.<number> -

The array of number values.

Source code: utils/ArrayUtils.js (Line 262)
doc_phaser
2017-02-14 10:36:16
Comments
Leave a Comment

Please login to continue.