phaser - v4.0.0-rc.4
    Preparing search index...
    • Takes an array and flattens it, returning a shallow-copy flattened array.

      Parameters

      • array: any[]

        The array to flatten.

      • Optionaloutput: any[]

        An array to hold the results in.

      Returns any[]