<script type="text/javascript">
window.onload = function(){
add_to_title(n , m);
//m n 的值均不变
alert(n);
alert(m);
};
var n = 1;
var m = n;
function add_to_title(total,x){
total = total + x;
};
</script>
javaScript传值比较
最新推荐文章于 2023-03-29 18:12:04 发布