25563765·8 lat temu·discussHis for loop modifies the data in-place, compared to map, which returns a new array. This is just one of many things wrong with this test.