``` val map = mapOf("john" to "apple", "richard" t...
# getting-started
o
Copy code
val map = mapOf("john" to "apple", "richard" to "pear", "bob" to "banana").withDefault { x: String -> "strawberries" }
val erik: String by map
fun main(args: Array<String>) {
    println(erik)
}
this works