菜单

concat连接两个数组


最后更新:2020-01-13 17:35


简介:
var a = [1,2,3,4,5];var b = a.concat(6,7); //a:[1,2,3,4,5,6,7] b:7


function f5iNjEY3Aq(a,b){  
  a.concat(b);
  return a;  
} 
              
测试