25563765·8년 전·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.