2014年5月6日

js的几个可能不清晰的问题

摘要: 一、关于全局变量的vartest=function(){vara=1;setTimeout(function(){console.log(a);a=2;},1000);a=3;setTimeout(function(){console.log(a);a=4;},2000);};test();结果是... 阅读全文

posted @ 2014-05-06 16:01 dhj 阅读(138) 评论(0) 推荐(0)

导航