<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《模拟私有属性的一个不成熟的办法》的评论</title>
	<atom:link href="http://www.frontendcodes.com/?feed=rss2&#038;p=38" rel="self" type="application/rss+xml" />
	<link>http://www.frontendcodes.com/?p=38</link>
	<description>路漫漫其修远兮</description>
	<lastBuildDate>Tue, 27 Oct 2020 16:09:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>作者：pussy porn</title>
		<link>http://www.frontendcodes.com/?p=38#comment-78560</link>
		<dc:creator>pussy porn</dc:creator>
		<pubDate>Tue, 08 Mar 2016 03:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.frontendcodes.com/?p=38#comment-78560</guid>
		<description>&lt;strong&gt;pussy porn...&lt;/strong&gt;

Buy Backlinks Cheap will help you skyrocket your rankings. Purchase quality high PR backlinks. Make your site an authority with quality seo backlinks....</description>
		<content:encoded><![CDATA[<p><strong>pussy porn&#8230;</strong></p>
<p>Buy Backlinks Cheap will help you skyrocket your rankings. Purchase quality high PR backlinks. Make your site an authority with quality seo backlinks&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：MK</title>
		<link>http://www.frontendcodes.com/?p=38#comment-11</link>
		<dc:creator>MK</dc:creator>
		<pubDate>Mon, 24 Jan 2011 00:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.frontendcodes.com/?p=38#comment-11</guid>
		<description>function o(){
  var privateObj = { &#039;a&#039;:1, &#039;b&#039;:2, c : function(){} }
  this.A = privateObj[&#039;a&#039;];
  //..
}

我觉得闭包就可以很好的实现私有属性的行为，而你现在是想像某些高级语言一样实现get/set方法。就现在js有限的写法上，还是不能很完美的实现的。</description>
		<content:encoded><![CDATA[<p>function o(){<br />
  var privateObj = { &#8216;a&#8217;:1, &#8216;b&#8217;:2, c : function(){} }<br />
  this.A = privateObj['a'];<br />
  //..<br />
}</p>
<p>我觉得闭包就可以很好的实现私有属性的行为，而你现在是想像某些高级语言一样实现get/set方法。就现在js有限的写法上，还是不能很完美的实现的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ant</title>
		<link>http://www.frontendcodes.com/?p=38#comment-10</link>
		<dc:creator>ant</dc:creator>
		<pubDate>Sun, 23 Jan 2011 15:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.frontendcodes.com/?p=38#comment-10</guid>
		<description>强力啊,我走火入魔了...我顶~</description>
		<content:encoded><![CDATA[<p>强力啊,我走火入魔了&#8230;我顶~</p>
]]></content:encoded>
	</item>
</channel>
</rss>
