• Returns the cloned array

    Example

    clone([1, 2, 3]); // [1, 2, 3]
    

    Type Parameters

    • Value

    Parameters

    • array: Value[]
    • Optional deep: boolean = false

    Returns Value[]

Generated using TypeDoc