package js.lib; @:native("WeakMap") extern class WeakMap_ { @:overload(function(iterable:Iterable>):WeakMap_ { }) function new(?entries:haxe.ds.ReadOnlyArray>); function delete(key:K):Bool; function get(key:K):Null; function has(key:K):Bool; function set(key:K, value:V):WeakMap_; static final prototype : WeakMap_; }