Jquery控制台打印数据

var obj = {}

obj.goodsId = ‘1’;

obj.quantity = ‘1000’;

obj.price = ‘49.00’;

console.dir(obj),可以打印对象

Leave a Reply

Your email address will not be published. Required fields are marked *