In order to duplicate an array in JavaScript: which of the following is faster to use?
###Slice method
var dup_array = original_array.slice(); <
var dup_array = original_array.slice();
A simple solution:
original = [1,2,3] cloned = original.map(x=>x)