Skip to content

deepDuplicateArray #28

@CMEONE

Description

@CMEONE

We should have a method that duplicates an array and all subarrays, like this:

helpful.deepDuplicateArray([1, 2, [3, 4], 5]) => [1, 2, [3, 4], 5]

We encourage using the existing duplicateArray method and recursion to create the deepDuplicateArray method.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions