Web development · Arrays and objects

Change it or copy it

Some array methods rewrite the array in place and some leave it alone, and mixing them up loses data without any error.