<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - vbert</title>
<link>http://snipplr.com/users/vbert/tags/associate</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Oct 2008 20:53:30 GMT</pubDate>
<item>
<title>(JavaScript) Simple hash table (associate array) in JavaScript</title>
<link>http://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript/</link>
<description><![CDATA[ <p>/* --==[ EXAMPLE ]==--

var colors = new AArray();
colors.add("k01", {bk:"#fff",tk:"b",it:"hello"});

var oC = colors.get("k01");

var tT = '';
for(K in oC) tT += "[" + K + "]: " + oC[K] + "\n";

tT += "\n\n";
tT += oC.bk + "\n";
tT += oC.tk + "\n";
tT += oC.it + "\n";

alert(tT);
*/</p> ]]></description>
<pubDate>Tue, 19 Feb 2008 12:40:34 GMT</pubDate>
<guid>http://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript/</guid>
</item>
</channel>
</rss>