摘要:
1.switch语句 switch(choice){ case 1-> ... case 2-> ... case 3-> ... case 4-> ... default-> System.out.println("Bad input"); } case的类型 char byte short in 阅读全文
posted @ 2024-12-16 14:34
zhongta
阅读(13)
评论(0)
推荐(0)
摘要:
1.函数如果没有return语句会返回undefined 8.1.2函数表示 [3,2,1].sort(function(a,b){return a-b;};//函数作为另一个函数的参数 let tensquared=(function(x){return x*x;}(10));//立即执行 8.1 阅读全文
posted @ 2024-12-16 13:14
zhongta
阅读(22)
评论(0)
推荐(0)