fromEntries

open override fun <K : Any, V> fromEntries(entries: Collection<Map.Entry<K, V>>): JsMap<K, V>

Return a generic immutable JsMap instance, created from the provided sized collection of entries, each an instance of a normal Java Map.Entry of type K and V.

Return

Created JS map instance.

Parameters

entries

Map entries from which to create a JS map.