from

open override fun <K : Any, V> from(entries: Collection<MapLike.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 JS MapLike.Entry of type K and V.

Return

Created JS map instance.

Parameters

entries

Map entries from which to create a JS map.