Skip to content

Instantly share code, notes, and snippets.

@honzabrecka
Created February 9, 2017 17:10
Show Gist options
  • Save honzabrecka/54e3238cccab538d532e66b6954c38c3 to your computer and use it in GitHub Desktop.
Save honzabrecka/54e3238cccab538d532e66b6954c38c3 to your computer and use it in GitHub Desktop.
(extend-type object ILookup (-lookup [o k] (aget o k)))
...
(let [{:strs ["foo"]} #js {"foo" "bar"}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment