On Saturday, February 22, 2014 8:44:54 AM UTC-8, Brandon Bloom wrote:
> The #js tagged literal, like all reader macros (@, ~, ~@, #, etc) are 
> resolved at read-time, which is before the macro runs and doesn't happen 
> again afterwards for the macro-expanded code.
> 
> Reader forms are for syntactic convenience, so if you have a situation where 
> you want a JavaScript object with dynamic keys, you need a different 
> construct. If you know the keys at compile time (like in your macro here) you 
> can use the (js-obj ...) macro. If you don't know the keys until runtime, you 
> can use js-obj in cooperation with aset.

Thanks

Best Regards,
Jay Lee

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to