<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 21:28:11 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Associative Array - advance - vbert</title>
      <link>https://snipplr.com/view/5136/associative-array--advance</link>
      <description>&lt;p&gt;/* ---===[ EXAMPLE ]===--- */&#13;
&#13;
var TT = new AssociativeArray();&#13;
&#13;
TT.add("k-1", "Value 1");&#13;
TT.add("k-2", "Value 2");&#13;
TT.add("k-3", "Value 3");&#13;
TT.add("k-4", "Value 4");&#13;
&#13;
alert(TT.to_string());&lt;/p&gt;</description>
      <pubDate>Wed, 20 Feb 2008 20:30:22 UTC</pubDate>
      <guid>https://snipplr.com/view/5136/associative-array--advance</guid>
    </item>
    <item>
      <title>(JavaScript) Simple hash table (associate array) in JavaScript - vbert</title>
      <link>https://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript</link>
      <description>&lt;p&gt;/* --==[ EXAMPLE ]==--&#13;
&#13;
var colors = new AArray();&#13;
colors.add("k01", {bk:"#fff",tk:"b",it:"hello"});&#13;
&#13;
var oC = colors.get("k01");&#13;
&#13;
var tT = '';&#13;
for(K in oC) tT += "[" + K + "]: " + oC[K] + "\n";&#13;
&#13;
tT += "\n\n";&#13;
tT += oC.bk + "\n";&#13;
tT += oC.tk + "\n";&#13;
tT += oC.it + "\n";&#13;
&#13;
alert(tT);&#13;
*/&lt;/p&gt;</description>
      <pubDate>Tue, 19 Feb 2008 12:40:34 UTC</pubDate>
      <guid>https://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript</guid>
    </item>
  </channel>
</rss>
