3 ms·
I think something more like a[0] = 1 Would be a better example. Appending to an array could involve creating a new array and reassigning it to ‘a’.
by cnasc 6y ago
I think something more like
a[0] = 1
Would be a better example. Appending to an array could involve creating a new array and reassigning it to ‘a’.