Why Use Arraylist Over Array Methods Javascript Map W3schools