phaser - v4.0.0-rc.4
    Preparing search index...
    • Removes a single item from an array and returns it without creating gc, like the native splice does. Based on code by Mike Reinstein.

      Parameters

      • array: any[]

        The array to splice from.

      • index: number

        The index of the item which should be spliced.

      Returns any