undefined
Exposes the JavaScript undefined property to Kotlin.
external val undefined: Nothing?(source)
import kotlin.js.*
fun main() {
// `missing` holds the JavaScript undefined value
val missing: dynamic = undefined
println(missing === undefined) // prints: true
// Accessing a non‑existent property returns undefined
val obj: dynamic = js("{ foo: 42 }")
println(obj.bar === undefined) // prints: true
}