﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-Klesh.Cn-随笔分类-Javascript</title><link>http://www.cnblogs.com/klesh/category/107566.html</link><description>concentrating on knowing more...</description><language>zh-cn</language><lastBuildDate>Sun, 18 May 2008 14:47:11 GMT</lastBuildDate><pubDate>Sun, 18 May 2008 14:47:11 GMT</pubDate><ttl>60</ttl><item><title>理解Javascript的闭包</title><link>http://www.cnblogs.com/Klesh/archive/2007/10/13/923115.html</link><dc:creator>Klesh Wong</dc:creator><author>Klesh Wong</author><pubDate>Sat, 13 Oct 2007 04:43:00 GMT</pubDate><guid>http://www.cnblogs.com/Klesh/archive/2007/10/13/923115.html</guid><wfw:comment>http://www.cnblogs.com/Klesh/comments/923115.html</wfw:comment><comments>http://www.cnblogs.com/Klesh/archive/2007/10/13/923115.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnblogs.com/Klesh/comments/commentRss/923115.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Klesh/services/trackbacks/923115.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 先来看两段代码，若是你不能完全理解它们的原理，则本文对你还是有一点参考作用的。　　首先是我写的一段用来模拟私有成员的代码:functionFoobar(parameter){	varpri...&nbsp;&nbsp;<a href='http://www.cnblogs.com/Klesh/archive/2007/10/13/923115.html'>阅读全文</a><img src ="http://www.cnblogs.com/Klesh/aggbug/923115.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://Klesh.cnblogs.com/" target="_blank">Klesh Wong</a> 2007-10-13 12:43 <a href="http://www.cnblogs.com/Klesh/archive/2007/10/13/923115.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>理解Javascript中类的定义</title><link>http://www.cnblogs.com/Klesh/archive/2007/09/28/understanding-classs-definition-in-javascript.html</link><dc:creator>Klesh Wong</dc:creator><author>Klesh Wong</author><pubDate>Fri, 28 Sep 2007 03:32:00 GMT</pubDate><guid>http://www.cnblogs.com/Klesh/archive/2007/09/28/understanding-classs-definition-in-javascript.html</guid><wfw:comment>http://www.cnblogs.com/Klesh/comments/909109.html</wfw:comment><comments>http://www.cnblogs.com/Klesh/archive/2007/09/28/understanding-classs-definition-in-javascript.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://www.cnblogs.com/Klesh/comments/commentRss/909109.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Klesh/services/trackbacks/909109.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 　　Foo在实例化后就是一个独立的个体，它的任何改动不会影响到原来的类型定义，也不会影响到其他的实例；而Bar则不同，它的所有实例都依然受prototype的影响，通过对Bar.prototype的修改或扩展，可以影响到所有包括已经实例化的实例。回过头来看Foo，由于它的成员，特别是成员函数是动态创建的，则可以利用它来模拟面向对象中的“私有成员&nbsp;&nbsp;<a href='http://www.cnblogs.com/Klesh/archive/2007/09/28/understanding-classs-definition-in-javascript.html'>阅读全文</a><img src ="http://www.cnblogs.com/Klesh/aggbug/909109.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://Klesh.cnblogs.com/" target="_blank">Klesh Wong</a> 2007-09-28 11:32 <a href="http://www.cnblogs.com/Klesh/archive/2007/09/28/understanding-classs-definition-in-javascript.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>