如:var a = [1,2,3,4];var b= [];b = a;这个不是把值赋值过去而是b作为a的引用,b改变的是a如何b指向的是一个新数组,a把元素值全部赋值过去? 1.普通数组可以使用 var b = [].concat(a); ----------------------------------------------------------------------------------------------------- 2.我遇到一个jquery对象类型的数组是[Obj
1: using System; 2: using System.Net; 3: using System.Net.Sockets; 4: using System.Text; 5: 6: 7: public class UDPListener 8: { 9: private const int listenPort = 5050; 10: private const int Height = 200; 11: private const int Width = 100; 12: pri