You can declare a `dynamic` Kotlin variable like this:
val myObject: dynamic = null
The Kotlin `Any` class is actaully more related to Java's `Object` class. (It's the superclass of every Kotlin class.)
You can declare a `dynamic` Kotlin variable like this:
The myObject above is not type-safe. It seems that the reason for its existence is interop with existing JavaScript code.The Kotlin `Any` class is actaully more related to Java's `Object` class. (It's the superclass of every Kotlin class.)