Affects Version/s: None
Fix Version/s: None
I noticed the following behaviour:
(.encodeURIComponent js/window "some text")
will fail under advanced compilation because the method name is optimised
This applies to any property or method of js/window.
The same does not appear to be true of js/document.
workaround as follows:
(def encode (aget js/window "encodeURIComponent"))
(encode "some txt")