Is there any Java library to convert Kotlin to Jav...
# android
v
Is there any Java library to convert Kotlin to JavaScript code? I have a String s = "contains Kotlin code"; which I want to convert to a JavaScript code? is it possible?
m
visruth:
String s = "contains Kotlin code";
Java code containing Kotlin code? 🙂
🧌 1
v
yes
I have a project which declares JavaScript code in String. It's kept at server side and shares it to the client when needed. So if it's possible to convert Kotlin code to JavaScript code with the help of a jar then I can replace all JavaScript strings with Kotlin in my project and later I can convert it to javascript on demand.
This is the use case I'm facing.