Bonjour, I just had a probably dumb idea. Sometime...
# javascript
j
Bonjour, I just had a probably dumb idea. Sometime companies want to waste your time with coding challenge And often Kotlin is not one of the options they support. Would it be somehow possible to write in Kotlin, compile in KotlinJS and execute the resulting JavaScript in their tool? I don’t care if the resulting JS is unreadable
b
Just compile it in ide and copy paste into web editor 😀
1
binaries.executable produces self-sufficient bundle
c
i would just stop the process right there when they have a hiring process that does not support kotlin.
j
@Big Chungus sorry I’m not super familiar with Kotlin JS I have a leetcode challenge solved in Kotlin and compiled to JS. How do I copy/paste the JS in leetcode so that it works? The source code is here https://github.com/jmfayard/challenges-js
b
Just build and then copy the contents of build/binaries/*.js