sci icon indicating copy to clipboard operation
sci copied to clipboard

Support `(set! js/foo 1)` in CLJS targets

Open borkdude opened this issue 2 years ago • 0 comments

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.

borkdude avatar Mar 30 '22 20:03 borkdude