菜单

push数组末尾增加


最后更新:2020-01-18 22:08


简介:
var a = [1,2,3,4,5];var b = a.push(6,7); var c = [8,9];var d = a.push(c); //a:[1,2,3,4,5,6,7,8,9] ,b:7,d:8


function f5iNjDjrV5(a,b){  
  a.push(b);
  return a;  
}          
测试