Dan Korostelev 9 years ago
parent
commit
9c08e9457c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      std/js/_std/haxe/ds/ObjectMap.hx

+ 1 - 2
std/js/_std/haxe/ds/ObjectMap.hx

@@ -38,8 +38,7 @@ class ObjectMap<K:{ }, V> implements haxe.Constraints.IMap<K,V> {
 	var h : { };
 
 	public function new() : Void {
-		h = { };
-		untyped h.__keys__ = { };
+		h = { __keys__: {} };
 	}
 
 	public function set(key:K, value:V):Void untyped {