phaser - v4.0.0-rc.4
    Preparing search index...
    • Create an array of numbers (positive and/or negative) progressing from start up to but not including end by advancing by step.

      If start is less than end a zero-length range is created unless a negative step is specified.

      Certain values for start and end (eg. NaN/undefined/null) are currently coerced to 0; for forward compatibility make sure to pass in actual numbers.

      Parameters

      • Optionalstart: number

        The start of the range. Default 0.

      • Optionalend: number

        The end of the range. Default null.

      • Optionalstep: number

        The value to increment or decrement by. Default 1.

      Returns number[]