copyOf

open override fun <K : Any, V> copyOf(map: Map<K, V>): JsMap<K, V>

Return a generic immutable JsMap instance, which is a copy of the provided map.

Return

Copied JS map instance.

Parameters

map

Existing map instance to wrap.