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