Replace Array With New Array Methods Javascript W3schools