methods that is good to edit an array code example Example: modify array js let newArray = oldArray.map(funcToEachElem);