3 ms·
The very first Swift question has a partially incorrect answer. It says that "var array2 = array1" creates a copy of array1. But it's incorrect because a copy
by meggar 8y ago
The very first Swift question has a partially incorrect answer. It says that "var array2 = array1" creates a copy of array1. But it's incorrect because a copy isn't actually created until one of them is mutated.