Can anybody spot the error here? Checkpoint 1 triggers but not checkpoint 2. Can't figure out what's wrong with my statement.

```
    <script>
        function shoppingCart() {

            var item,
                price,
                qty,
                items = {
                    itemID: "B17",
                    itemPrice: 17,
                    itemQty: 1
                    };

        function addItem(item, price, qty) {
             alert("checkpoint 1");
               items.push({
               itemID: item,                  
               itemPrice: price,
               itemQty: qty
               });
             alert("checkpoint 2");

        };

};
        cart = new shoppingCart();

        cart.addItem("b4",14,1);
        alert(cart.items.itemID);
    </script>

```