how to create a clon of array node code example Example: js clone array var clone = myArray.slice(0);