摘要: 值传递代码举例: function swap(a,b){ //定义时,ab为形参 document.write("x="+a+" "+"y="+b+"<br/>"); var temp; temp = a; a = b; b = temp; document.write("x="+a+" "+"y= 阅读全文
posted @ 2022-04-14 10:17 Luhuhuhu 阅读(172) 评论(0) 推荐(0) 编辑