Difference between revisions of "Array.clone()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
==Array.clone() ==
 
==Array.clone() ==
  
Create a clone of the array
+
Create a clone of the array.Helpful to avoid by reference issues when array elements are overwritten etc.
  
 
==See Also==
 
==See Also==

Latest revision as of 03:04, 30 April 2020


Array.clone()

Create a clone of the array.Helpful to avoid by reference issues when array elements are overwritten etc.

See Also

copy

deepcopy