eg:
So:
foo = \"asdf\" {foo: \"bar\"} eval foo # how do I g
Try this:
foo = "asdf" eval "var x = {#{foo}: 'bar'}" alert(x.asdf)