empty

fun <K : Any, V> empty(size: Int): JsMap<K, V>

Return an empty JS map instance, pre-sized to the provided size.

Return

Empty JS map instance.

Parameters

size

Known size.


open override fun <K : Any, V> empty(): JsMap<K, V>

Return an empty and immutable JS map instance.

Return

Empty JS map instance.