订阅 订阅  :: 管理

2010年10月31日

摘要: 1、变量看下面一段代码var t = "global";function test() {a = "global too";var t = "local";alert(t); //output:"local"alert(a); //output:"global too"t = "also local";}test();alert(t); //output:"global"alert(a); //output:"global too"为什 阅读全文

posted @ 2010-10-31 18:36 hfCoder 阅读(143) 评论(0) 推荐(0)