Array Array.clone () vs. 1.1.0 Full+Lite

Will return a new duplicate of the array. This function does a shallow cloning only. If the array contains other arrays, they will be cloned by reference only.

Return

Array Required vs. 1.1.0 Full+Lite
The cloned array.

Examples

Using Array.clone()
Demo: