Skip to content

Instantly share code, notes, and snippets.

@dbushong
Last active December 11, 2015 18:09
Show Gist options
  • Save dbushong/4639431 to your computer and use it in GitHub Desktop.
Save dbushong/4639431 to your computer and use it in GitHub Desktop.
# i'd like this syntax to work
someFunc 42, 69,
foo: 42
bar: 79
baz: 88
"x#{x}": 92
# which would compile to something like this:
###
someFunc(42, 69, (function () {
var h = { foo: 42, bar: 69, baz: 88 };
h['x' + x] = 92;
return h;
})());
###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment