I got 2 different array display value, but the value was delete at the same time when I clicked a button next to the display value. 

```
    function deleteItem(i) {
        objectarray.splice(i,1);
        displayList();
    }

```