Edoardo Luppi
05/07/2024, 12:42 PMjs(...)
code with the string constant provided as a parameter
However it's not just a simple replacement, there is some validation going on, which blocks the use of certain JS features.
https://youtrack.jetbrains.com/issue/KT-67813
I wonder if a way to disable validation is doable?turansky
05/07/2024, 1:09 PMEdoardo Luppi
05/07/2024, 1:45 PMturansky
05/07/2024, 6:59 PMEdoardo Luppi
05/07/2024, 7:12 PMloke
05/08/2024, 5:12 AMjs("eval")
as a workaround.turansky
05/08/2024, 9:22 AMeval
limitation - no inputs 😞loke
05/09/2024, 4:17 PMa
and b
in the Kotlin code, and then did this: js("(function(a0,b0){return eval(\"a0**b0\");})(BigInt(a),BigInt(b))")
turansky
05/09/2024, 4:21 PMBigInt
support in wrappers.
Looks like missed PR or issue 🙂turansky
05/09/2024, 4:22 PMInt
?loke
05/13/2024, 3:47 AMdynamic
value: js("(function(a0,b0,c0,d0){eval(\"do something with a0, b0, etc\")})(a,b,c,d)
loke
05/13/2024, 3:47 AMturansky
05/13/2024, 6:15 AMturansky
05/13/2024, 6:17 AMBigInt.pow
added. Will be available in new releaseloke
05/25/2024, 8:45 AMloke
05/25/2024, 8:46 AM