<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>评论：JavaScript中的HashMap</title>
	<link>http://www.jiehoo.com/javascript-hashmap.htm</link>
	<description>解己之惑，解人之惑</description>
	<pubDate>Sat, 30 Aug 2008 05:57:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>来自：Cherami</title>
		<link>http://www.jiehoo.com/javascript-hashmap.htm#comment-6</link>
		<pubDate>Mon, 23 Oct 2006 13:27:00 +0000</pubDate>
		<guid>http://www.jiehoo.com/javascript-hashmap.htm#comment-6</guid>
					<description>呵呵，早说啊，害得我另外用了一个数组保存主键。我的意思是类似数组下标的用法，perl语言里面有类似的特性。</description>
		<content:encoded><![CDATA[<p>呵呵，早说啊，害得我另外用了一个数组保存主键。我的意思是类似数组下标的用法，perl语言里面有类似的特性。
</p>
]]></content:encoded>
				</item>
	<item>
		<title>来自：oneal</title>
		<link>http://www.jiehoo.com/javascript-hashmap.htm#comment-4</link>
		<pubDate>Mon, 23 Oct 2006 13:09:17 +0000</pubDate>
		<guid>http://www.jiehoo.com/javascript-hashmap.htm#comment-4</guid>
					<description>刚看到你的站　：）

其实divRequestMap 是一个对象，并不是一个数组，divRequestMap［'字符串'］里的字符串是这个对象的一个属性，并不是数组下标。遍历对象的属性用这种方式：
for( prop in divRequestMap)
{
    value = divRequestMap[prop ];
}</description>
		<content:encoded><![CDATA[<p>刚看到你的站　：）</p>
<p>其实divRequestMap 是一个对象，并不是一个数组，divRequestMap［&#8217;字符串&#8217;］里的字符串是这个对象的一个属性，并不是数组下标。遍历对象的属性用这种方式：<br />
for( prop in divRequestMap)<br />
{<br />
    value = divRequestMap[prop ];<br />
}
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
