fixup
diff --git a/js/js.libraries/src/core/collections/InternalMap.kt b/js/js.libraries/src/core/collections/InternalMap.kt index b72f138..33e6b64 100644 --- a/js/js.libraries/src/core/collections/InternalMap.kt +++ b/js/js.libraries/src/core/collections/InternalMap.kt
@@ -29,9 +29,9 @@ fun remove(key: K): V? fun clear(): Unit - fun createJsMap() { + fun createJsMap(): dynamic { val result = js("Object.create(null)") - // V8 trick to force the map to be a HashMap + // force to switch object representation to dictionary mode result["foo"] = 1; deleteProperty(result, "foo") return result