undefined相关
<script>
var undefined = "kyuhyun";
alert(undefined);//undefined
</script>
<script>
aa = function(){
var undefined = "kyuhyun";
alert(undefined);//kyuhyun
}
</script>
在javascript为什么对于undefined的赋值要在函数里才有用?
<script>
var undefined = "kyuhyun";
alert(undefined);//undefined
</script>
<script>
aa = function(){
var undefined = "kyuhyun";
alert(undefined);//kyuhyun
}
</script>
在javascript为什么对于undefined的赋值要在函数里才有用?
2015-09-14
举报