This often isn’t possible.
His 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.
This often isn’t possible.
His 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.