sci
sci copied to clipboard
Support `(set! js/foo 1)` in CLJS targets
This is equivalent to (set! (.-foo goog/global) 1) which might be more idiomatic.
One approach could be to convert (set! js/foo) to (set! (.-foo js) ..) and then process that further. This solution would then also work for other aliases that refer to JS objects.