pub(crate) fn weakmap_ctor( it: &mut Interp, _t: Value, a: &[Value], ) -> Result<Value, Value>
new WeakMap(iterable)。仕様準拠で 1 要素ずつ反復し、WeakMap.prototype.set 経由で登録、 例外時は IteratorClose を呼ぶ。
new WeakMap(iterable)
WeakMap.prototype.set
IteratorClose