相关代码 |
|
function one(para1,para2) { para1=para1*2; b=b+1; var c; c=100; document.writeln("int function one,"); document.writeln("pass get para1="+para1+""); document.writeln("a="+a+""); document.writeln("b="+b+""); document.writeln("c="+c+""); } var a=1,b=2,c=3; one(a,b); document.writeln(" in one wei"); document.writeln("a="+a+""); document.writeln("b="+b+""); document.writeln("c="+c+"");