Hex Core JS
    Preparing search index...

    Function reverse

    • Creates a shallow copy of the given array and reverses that copy. Does not modify the original array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to copy and reverse.

      Returns T[]