jq添加数组

var array=new Array();

array.push(值); //向数组中添加值

array.shift(值);//向数组中移除值 

原文地址:https://www.cnblogs.com/superMay/p/6025850.html