I'm using kotlin2js to generate JS library from Kotlin code. I'm then using this library in Javascript (not Kotlin). The code has some Kotlin objects and some normal classes. I can access normal classes from Javascript, but I can't access the objects in any way.
The documentation is pretty sparse, only relevant line might be this:
Kotlin preserves lazy object initialization in JavaScript.
I'm not sure what that means.