I am kinda new with javascript and was wondering if anyone can help me with a simple problem. I have an array that has both strings and integers, but I need to get the price and sum them all up with a button click. can anyone help me with this one?
var toys = [
  {
    name: "Lego",
    price: 15.6,
  },
  {
    name: "Master of the Universe",
    price: "28.3",
  },
  {
    name: "Barbie",
    price: null,
  },
  {
    name: "Mr Potato Head",
    price: 89.99,
  }
]
 
     
    