<?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>评论：详解new function(){}和function(){}()</title>
	<atom:link href="http://www.planabc.net/2008/02/20/javascript_new_function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planabc.net/2008/02/20/javascript_new_function/</link>
	<description>落草为根—专注前端技术&#38;&#38;关注用户体验</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：new操作符 - 漫步中的Tcer&#8230;</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-5399</link>
		<dc:creator>new操作符 - 漫步中的Tcer&#8230;</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-5399</guid>
		<description>[...] http://www.planabc.net/2008/02/20/javascript_new_function/ http://www.javaeye.com/topic/288808 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.planabc.net/2008/02/20/javascript_new_function/" rel="nofollow">http://www.planabc.net/2008/02/20/javascript_new_function/</a> <a href="http://www.javaeye.com/topic/288808" rel="nofollow">http://www.javaeye.com/topic/288808</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：阿阳的个人博客 &#187; Blog Archive &#187; 一道Javascript笔试题</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-4432</link>
		<dc:creator>阿阳的个人博客 &#187; Blog Archive &#187; 一道Javascript笔试题</dc:creator>
		<pubDate>Wed, 09 Sep 2009 00:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-4432</guid>
		<description>[...] 这篇文章讨论的new function中有一句话：  只要 new 表达式之后的 constructor 返回（return）一个引用对象（数组，对象，函数等），都将覆盖new创建的匿名对象，如果返回（return）一个原始类型（无 return 时其实为 return 原始类型 undefined），那么就返回 new 创建的匿名对象。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 这篇文章讨论的new function中有一句话：  只要 new 表达式之后的 constructor 返回（return）一个引用对象（数组，对象，函数等），都将覆盖new创建的匿名对象，如果返回（return）一个原始类型（无 return 时其实为 return 原始类型 undefined），那么就返回 new 创建的匿名对象。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Function</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-4265</link>
		<dc:creator>Function</dc:creator>
		<pubDate>Tue, 25 Aug 2009 09:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-4265</guid>
		<description>[...] 在网上看到两篇文章燃烧脑细胞时间和详解new function(){}和function(){}()记录下以加深映像； [...]</description>
		<content:encoded><![CDATA[<p>[...] 在网上看到两篇文章燃烧脑细胞时间和详解new function(){}和function(){}()记录下以加深映像； [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：dongyuwei</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-3366</link>
		<dc:creator>dongyuwei</dc:creator>
		<pubDate>Sat, 09 May 2009 14:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-3366</guid>
		<description>我希望你的网页提供一个右键菜单，可以直接eval执行你的代码。非恶意。。</description>
		<content:encoded><![CDATA[<p>我希望你的网页提供一个右键菜单，可以直接eval执行你的代码。非恶意。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：netwjx</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-391</link>
		<dc:creator>netwjx</dc:creator>
		<pubDate>Wed, 30 Apr 2008 16:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-391</guid>
		<description>var yx01 = new function() {return “圆心”};
意思应该是
var yx01 = new (function() {return “圆心”});

而(function() {return “圆心”})就是上面说的constructor</description>
		<content:encoded><![CDATA[<p>var yx01 = new function() {return “圆心”};<br />
意思应该是<br />
var yx01 = new (function() {return “圆心”});</p>
<p>而(function() {return “圆心”})就是上面说的constructor</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-377</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Mon, 28 Apr 2008 09:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-377</guid>
		<description>大写表示Function类，小写是函数。</description>
		<content:encoded><![CDATA[<p>大写表示Function类，小写是函数。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：withoume</title>
		<link>http://www.planabc.net/2008/02/20/javascript_new_function/comment-page-1/#comment-375</link>
		<dc:creator>withoume</dc:creator>
		<pubDate>Mon, 28 Apr 2008 08:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2008/02/20/javascript_new_function/#comment-375</guid>
		<description>var yx01 = new function() {return &quot;圆心&quot;};
这种方法写function的f需要大写字母吗，我看好多都用的是大写。</description>
		<content:encoded><![CDATA[<p>var yx01 = new function() {return &#8220;圆心&#8221;};<br />
这种方法写function的f需要大写字母吗，我看好多都用的是大写。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
