On Tuesday, 10 December 2019 at 19:22:01 UTC, Jonathan Levi wrote: > Why does this not work? The [] operators work in place. It doesn't create a new array, just multiplies the existing elements.