2014年6月16日

JS中的变量及注意点

摘要: 参考: http://www.blogjava.net/baoyaer/articles/105921.html http://zhidao.baidu.com/link?url=8swl8GsS3UlFcNqxXBPI0LdpIzKx0WSxP-idnhA9oCZElLY8NMwAsiIljfyR... 阅读全文

posted @ 2014-06-16 19:00 马来亚 阅读(273) 评论(0) 推荐(0)

JS的闭包

摘要: 参考:http://kingsmalltwo.iteye.com/blog/1962583function a(){ var i=0; alert('a'); function b(){ alert(++i); } return b;}var c = a();c();c();按以往的... 阅读全文

posted @ 2014-06-16 14:53 马来亚 阅读(117) 评论(0) 推荐(0)

导航