As far as I can tell, Kotlin's JS support isn't quite the same idea as Nashorn.
k
karelpeeters
11/26/2017, 8:24 AM
From what I understand Nashorn is a JS engine for the JVM? Kotlin JS doesn't run on the JVM, so you'll still need to use Nashorn if you want to run JS. You could write your JS code in Kotlin, and run those compiled files with Nashorn, but that's pretty pointless.