摘要: There is an excellent article named Optimizing JavaScript Code. The authors are software engineers on Gmailand Google chrome.I appreciate the knowledge described in this article and try to repeat it i... 阅读全文
posted @ 2009-06-30 15:49 三生石上(FineUI控件) 阅读(389) 评论(0) 推荐(0) 编辑
摘要: In JavaScript, object and array are passed by reference.Sometimes you may come into trouble if you don’t keep this in mind, especial inrecursion.Let’s see an example:First, prepare a JavaS... 阅读全文
posted @ 2009-06-30 11:39 三生石上(FineUI控件) 阅读(435) 评论(0) 推荐(0) 编辑
摘要: This article describe the famious issue “function in loop and closure” in JavaScript.The root cause is loop statements (such as for, while) don’t have their own scope.Let’s see... 阅读全文
posted @ 2009-06-30 11:10 三生石上(FineUI控件) 阅读(540) 评论(0) 推荐(0) 编辑