📜  将对象推送到 json 数组 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:09.341000             🧑  作者: Mango

代码示例2
var feed = {created_at: "2017-03-14T01:00:32Z", entry_id: 33358, field1: "4", field2: "4", field3: "0"};

var data = [];
data.push(feed);

console.log(data);