这是什么{}
意思var ShopLogicOptions = {};
我一直在网上搜索,但很难找到!
它是否声明ShopLogicOptions
为对象?
var ShopLogicOptions = {};
ShopLogicOptions.params = {orderId: '" + SS_JS_OrderNo + "', cartItems:[''], subTotal:'',
grandTotal:'', shippingTotal:'', discount:'', discountCode:'', productSku:'',
productName:'', productCategory:''};
另外,如何正确插入我的SS_JS_OrderNo
javascript 变量?