Skip to content

Instantly share code, notes, and snippets.

@grahamb
Forked from jnraine/dict.js
Created March 20, 2012 17:54

Revisions

  1. @jnraine jnraine created this gist Mar 20, 2012.
    1 change: 1 addition & 0 deletions dict.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {"foo": "bar", "baz": "quux"}
    1 change: 1 addition & 0 deletions hash.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {foo: 'bar', baz: 'quux'}
    5 changes: 5 additions & 0 deletions map.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // Let's build a fun map object!
    Map<String, String> map = new HashMap<String, String>();
    map.put("foo", "bar");
    map.put("baz", "quux");
    // By the time we get here, we've forgotten what we were doing