switch(name){ case '1': age = 123; break; case '2': age = 456; break; default : age = 777; } 函数 function func(arg){ return arg+1 } var result = func(1) console.log(result); 普通函数: function func(){ } 匿名函数: function func(arg){ return arg+1 } setInterval…
[Serializable] public class CardItemInfo { private int lineWidth;//线宽 private CardItemInfo childCardItemInfo; public int LineWidth { get { return lineWidth; } set { lineWidth = value; } } public int ChildCardItemInfo { get { return childCardItemInfo;…