setPutAll(set set, set elements)
Adds every element of the set elements to the set set. Elements that set already contains are not duplicated.
The set set is modified in place: unlike setUnion, which creates a new set, setPutAll only pays for the added elements. It is the function form of set += elements.
var seen = <1, 2>
setPutAll(seen, <2, 3, 4>)
debug(seen) // <1, 2, 3, 4>
const seen = new Set([1, 2])
for (const x of [2, 3, 4]) seen.add(x)
Debug.log([...seen]) // [1, 2, 3, 4]
seen = {1, 2}
seen.update({2, 3, 4})
Debug.log(sorted(seen)) # [1, 2, 3, 4]
Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.