<?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>《JavaScript 传递参数是值传递？还是值传递啊？》的评论</title>
	<atom:link href="http://www.xiaoxiaozi.com/2010/03/05/1719/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiaoxiaozi.com/2010/03/05/1719/</link>
	<description>Say you say me ,say we together~~</description>
	<lastBuildDate>Mon, 06 Feb 2012 01:58:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>作者：Rain.Zhai</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-11233</link>
		<dc:creator>Rain.Zhai</dc:creator>
		<pubDate>Thu, 30 Jun 2011 10:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-11233</guid>
		<description>Ecma里面讲到：The internal Reference type is not a language data type. It is defined by this specification purely for
expository purposes.既然不是数据类型，又哪来指针一说呢？求教</description>
		<content:encoded><![CDATA[<p>Ecma里面讲到：The internal Reference type is not a language data type. It is defined by this specification purely for<br />
expository purposes.既然不是数据类型，又哪来指针一说呢？求教</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：simaopig</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-11075</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Wed, 11 May 2011 13:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-11075</guid>
		<description>今天又重新翻到了这篇文章，上面的兄弟。这个没有被析构。原因是obj被重新赋值为一个新的值，null。但是obj，全局的这个指针仍然是指向到A的那个实例上。

alert(obj.name) 依旧有值。</description>
		<content:encoded><![CDATA[<p>今天又重新翻到了这篇文章，上面的兄弟。这个没有被析构。原因是obj被重新赋值为一个新的值，null。但是obj，全局的这个指针仍然是指向到A的那个实例上。</p>
<p>alert(obj.name) 依旧有值。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：simaopig</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-10283</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Thu, 14 Oct 2010 05:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-10283</guid>
		<description>&lt;a href=&quot;#comment-10282&quot; rel=&quot;nofollow&quot;&gt;@赫尔墨斯 &lt;/a&gt;
应该是obj=null吧？</description>
		<content:encoded><![CDATA[<p><a href="#comment-10282" rel="nofollow">@赫尔墨斯 </a><br />
应该是obj=null吧？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：赫尔墨斯</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-10282</link>
		<dc:creator>赫尔墨斯</dc:creator>
		<pubDate>Thu, 14 Oct 2010 05:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-10282</guid>
		<description>// 测试类
function classA()
{
    this.name = &#039;jimmy&#039;;
}

// 释放对象
function nullObj(obj)
{
    obj.null;
}

var obj = new classA();
nullObj(obj);

请问这个对象是否被析构了？</description>
		<content:encoded><![CDATA[<p>// 测试类<br />
function classA()<br />
{<br />
    this.name = &#8216;jimmy&#8217;;<br />
}</p>
<p>// 释放对象<br />
function nullObj(obj)<br />
{<br />
    obj.null;<br />
}</p>
<p>var obj = new classA();<br />
nullObj(obj);</p>
<p>请问这个对象是否被析构了？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zhenn</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-7936</link>
		<dc:creator>zhenn</dc:creator>
		<pubDate>Wed, 31 Mar 2010 08:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-7936</guid>
		<description>恩，没错，是这样滴！</description>
		<content:encoded><![CDATA[<p>恩，没错，是这样滴！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：GuoJing</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-7576</link>
		<dc:creator>GuoJing</dc:creator>
		<pubDate>Thu, 11 Mar 2010 01:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-7576</guid>
		<description>&lt;a href=&quot;#comment-7488&quot; rel=&quot;nofollow&quot;&gt;@LAONB &lt;/a&gt;
其实这个东西是通用的，当然你说的c不通用是因为c不算面向对象，在面向对象的开发语言中，c++/java/c#都有值类型和引用类型，值类型都是新建存储空间，而引用类型都是指向同一个指针地址，基本上都是一样的，如果要深入研究就要看函数在调用的时候参数是如何压栈的了，这个就更复杂了。

不过基本上都是对，这个很基础，好的程序员需要具备这样的知识。感谢lz再次写这样一篇文章，很不错。支持。</description>
		<content:encoded><![CDATA[<p><a href="#comment-7488" rel="nofollow">@LAONB </a><br />
其实这个东西是通用的，当然你说的c不通用是因为c不算面向对象，在面向对象的开发语言中，c++/java/c#都有值类型和引用类型，值类型都是新建存储空间，而引用类型都是指向同一个指针地址，基本上都是一样的，如果要深入研究就要看函数在调用的时候参数是如何压栈的了，这个就更复杂了。</p>
<p>不过基本上都是对，这个很基础，好的程序员需要具备这样的知识。感谢lz再次写这样一篇文章，很不错。支持。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LAONB</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-7488</link>
		<dc:creator>LAONB</dc:creator>
		<pubDate>Sat, 06 Mar 2010 09:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-7488</guid>
		<description>&lt;a href=&quot;#comment-7482&quot; rel=&quot;nofollow&quot;&gt;@simaopig &lt;/a&gt;
没错，我还以为这东西也是通用的，看来理解错误了。</description>
		<content:encoded><![CDATA[<p><a href="#comment-7482" rel="nofollow">@simaopig </a><br />
没错，我还以为这东西也是通用的，看来理解错误了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：simaopig</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-7482</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Sat, 06 Mar 2010 02:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-7482</guid>
		<description>&lt;a href=&quot;#comment-7479&quot; rel=&quot;nofollow&quot;&gt;@LAONB &lt;/a&gt;
貌似你说的是C的指针。。我说的这个不一样滴。嘻嘻。。</description>
		<content:encoded><![CDATA[<p><a href="#comment-7479" rel="nofollow">@LAONB </a><br />
貌似你说的是C的指针。。我说的这个不一样滴。嘻嘻。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LAONB</title>
		<link>http://www.xiaoxiaozi.com/2010/03/05/1719/comment-page-1/#comment-7479</link>
		<dc:creator>LAONB</dc:creator>
		<pubDate>Sat, 06 Mar 2010 01:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiaoxiaozi.com/2010/03/05/1719/#comment-7479</guid>
		<description>听说指针很强大，可以直接跟硬件对话。 :oops:</description>
		<content:encoded><![CDATA[<p>听说指针很强大，可以直接跟硬件对话。 <img src='http://www.xiaoxiaozi.com/wp-includes/images/smilies-ren/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

