title: how do i ask something on this website about array's
body: <p>//:(this is the assigment)Updating the number of items
  In the addToCart function, update the element with ID itemCounter to the length of the cartItems array.</p>
  
  <p>var cartItems = [];</p>
  
  <p>var backpack = {
   name: "Backpack",
   price: 400
  }</p>
  
  <p>var camera = {
   name: "Camera",
   price: 300
  }</p>
  
  <p>function addToCart(item) {
    cartItems.push(item);</p>
  
  <p>}</p>