New Array

Convert array like structures (arguments) to a regular array and shallow clone arrays.

The advantage of a regular array is that it has all the regular array methods. Copying makes it so the original array isn't modified.

function newArr(arrLike) {
	return Array.prototype.slice.call(arrLike, 0)
}