案例: 1.提取basePrice 2.提取quantity discount 3.提取shipping 提取结果:按这种方式,basePrice、quantityDiscount、shipping可以在对象中全局引用