[level2] var example1 = getTotalPrice([ { product: “Milk”, quantity: 1, price: 1.50 } ]) // $1.50 var example2 = getTotalPrice([ { product: “Milk”, quantity: 1, price: 1.50 }, { product: “Cereals”, quantity: 1, price: 2.50 } ]) // $4.00 var example3 = getTotalPrice([ { product: “Milk”, quantity: 3, price: 1.50 } ]) // $4.50 var example4 = getTotalPrice([ { product: “Milk”, quantity: 1, price: 1.50 }, { product: “Eggs”, quantity: 12, price: 0.10 }, { product: “Bread”, quantity: 2, price: 1.60 }, { product: “Cheese”, quantity: 1, price: 4.50 } ]) // $10.40 var example5 = getTotalPrice([ { product: “Chocolate”, quantity: 1, price: 0.10 }, { product: “Lollipop”, quantity: 1, price: 0.20 } ]) // $0.30 console.log(example1) console.log(example2) console.log(example3) console.log(example4) console.log(example5)