• Get the last element of an array

    Parameters

    • arr: any

    Returns any