Set union is mathematically commutative as membership, yet the JavaScript result has an observable order. This guide separates those facts. It copies live receiver entries first, then appends previously absent values from the other operand’s keys iterator, preserving enough protocol detail to explain duplicates, identity, errors and cleanup.
This specialist guide belongs to the Websites root. It also connects to The Gold Standard of Education | Learning That Transfers into Life and the How X Works hub. The worked cases are original teaching examples; their numbers are stipulated so that the reasoning can be checked.
eduKateSG · Websites
Find your next learning step
Trace how Set.union copies receiver order, consumes other.keys, skips existing values and produces a new ordinary Set without mutating either input.
ROUTE 1 · CHAPTERS 1–3
Build the first model
Name the input, the observable protocol and the first complete trace.
ROUTE 2 · CHAPTERS 4–6
Follow the decisive mechanism
Work the traversal, arithmetic or stopping rule in order.
ROUTE 3 · CHAPTERS 7–9
Change the context
Change one condition and rebuild the trace from that premise.
ROUTE 4 · CHAPTERS 10–12
Handle limits and evidence
Locate failures, side effects and checks that separate rival explanations.
ROUTE 5 · CHAPTERS 13–15
Use and explain the result
Turn the reasoning into reliable tests, decisions and reports.
Chapter contents
Build the first model · Chapters 1–3
1. Define union membership and result order
Follow the decisive mechanism · Chapters 4–6
Change the context · Chapters 7–9
7. Keep identity and zero rules precise
Handle limits and evidence · Chapters 10–12
10. Trace early iterator failure
Use and explain the result · Chapters 13–15
13. Design a decisive test ledger
CHAPTER 1 OF 15 · Build the first model
1. Define union membership and result order
The union contains every distinct keyed-collection value present in the receiver or produced by the other operand. Its observable order begins with receiver Set order and then adds new other keys in their yield order. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Receiver A,B and other B,C produce A,B,C. B is already present and is not appended again. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Swap the operands. Membership stays A,B,C while order can become B,C,A. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Mathematical equality of member sets does not imply identical JavaScript iteration order. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
Set.prototype.union requires the receiver to carry Set internal data. The other operand may be a set-like object prepared through size, has and keys. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Call union on new Set([A]) with a set-like other. The receiver passes the internal-slot check before other preparation. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Borrow the method with call on a plain object containing size, has and keys. It throws because the receiver is not a Set. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Set-like flexibility applies to the other operand, not the receiver. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
The method reads the other size and captures callable has and keys properties through GetSetRecord before consuming keys. Union later invokes keys; observable getters can reveal preparation. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Use logging getters for size, has and keys. Record their reads, then a keys invocation and iterator pulls. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Replace the object with a genuine Set and compare the same member result with a quieter protocol trace. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. A callable has can be validated even though union does not use it for membership probes. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
The result starts as a copy of the receiver Set data, preserving live receiver entries and their insertion order. Later other keys cannot move an existing receiver value. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Receiver C,A and other A,B yield result C,A,B. A stays in its receiver position. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Delete and re-add C before the call, making receiver order A,C; result becomes A,C,B. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. The result is not globally sorted and does not choose the earliest position across both inputs. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 5 OF 15 · Follow the decisive mechanism
5. Consume other keys in yield order
After copying the receiver, union obtains the other keys iterator and examines each yielded value in order. A missing value is appended when first encountered. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Receiver A; other yields C,B. Result order is A,C,B. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Reverse other yield order to B,C. Result becomes A,B,C with the same membership. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. The reported other size does not determine append order. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 6 OF 15 · Follow the decisive mechanism
6. Skip values already in the result
Each other key is canonicalised and tested against result data. Existing values are skipped; they do not move or create a second entry. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Receiver A,B; other yields B,B,C,A,D. Result is A,B,C,D. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Remove B from receiver. The first yielded B is now appended after A and later B is skipped. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Duplicate keys from a custom set-like iterator are possible even though genuine Set keys are unique. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
Set membership uses keyed-collection identity: NaN matches NaN, negative zero is canonicalised to positive zero and objects match by reference. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Receiver NaN,0,obj1; other yields NaN,-0,{id:1}. Only the new object reference is appended. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Yield the exact obj1 reference instead of a lookalike object. It is skipped as already present. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Stringification cannot decide object identity or NaN membership. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
The method creates a new ordinary Set with copied result data. It does not add other values to the receiver or delete them from the other operand. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. After union of A and B, add C to the result and inspect the receiver; receiver remains A. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Add D to the receiver after the call. The existing result does not update automatically. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Shared object values remain shared references even though the Set containers are distinct. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 9 OF 15 · Change the context
9. Distinguish size preparation from traversal
GetSetRecord validates the other size, but union does not use that size to select a branch or limit the keys iterator. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Other reports size1 but yields B,C. Both absent keys are appended. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Report size100 with the same keys and observe the same result order. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. An invalid negative or non-numeric size can fail preparation before keys are read. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
If the other keys iterator throws during next, union throws and no normal result is returned. Receiver inputs remain separate from the abandoned internal result. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Other yields B, then next throws before C. Record the error and absence of a returned Set. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Move the failure after normal exhaustion and the result A,B,C can be returned. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Do not publish the partially constructed internal list as an official union result. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 11 OF 15 · Handle limits and evidence
11. Trace value conversion and getters
The keys iterator may be custom and observable. Union consumes yielded values directly; it does not call other.has to verify them against the reported set. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Make other.has throw if called and keys yield B. Union can still return A,B after validating but not invoking has. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Make the keys getter throw instead. The call fails during preparation. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Captured property access and later method invocation are different events. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 12 OF 15 · Handle limits and evidence
12. Compare union with intersection branches
Union always starts from receiver data and then consumes other keys. Intersection selects work using operand size, so its result order can depend on a different traversal. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Use receiver A,B,C and other C,A. Union is A,B,C; an intersection trace may be ordered by the selected side. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Change only other size reporting and compare intersection effects while union append order remains driven by keys. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Do not copy the performance explanation of intersection onto union. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
A strong test asserts result membership, result order, input preservation, property reads, keys pulls and absence of other.has calls. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Assert result A,B,C for receiver A,B and yielded B,C; assert receiver still A,B and calls include keys but not has. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Reverse yielded order C,B and assert result A,B,C because B already exists and C appends once. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. A set-equality assertion alone misses order and protocol effects. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
A baseline feature Set can be combined with an extension Set while preserving baseline display order and appending genuinely new extensions. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Baseline search,save; extensions save,share. Result order search,save,share. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Swap the call to extensions.union(baseline). Membership stays equal while display order becomes save,share,search. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Authorisation or dependency validity requires rules beyond set union. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
CHAPTER 15 OF 15 · Use and explain the result
15. Write the final explanation in five facts
A complete account names receiver order, other protocol and yield order, skipped existing keys, appended new keys and input preservation. Start by naming the exact object, value, unit or reporting basis. That small discipline prevents a familiar label from replacing the mechanism that decides the result.
Worked case. Report: receiver A,B; other keys B,C,A,D; skip B and A, append C then D; result A,B,C,D; inputs unchanged. Record the supplied inputs, each observable step and the stopping point in a compact ledger. The example is useful only if another reader can reproduce the conclusion without guessing which convention or protocol branch was assumed.
Now reason through the case in order. Validate the starting values first, apply the stated rule, follow each pull, call or arithmetic transformation, and interpret the output last. Keep order, units, identity and reference values beside the step that uses them.
Changed-context check. Changed report: other yields D,C; result A,B,D,C. Rework the trace from the changed premise instead of editing the first answer by intuition. This reveals which parts of the reasoning transfer and which parts must be rebuilt.
Limit and misconception check. Do not say union sorts, mutates the receiver or always returns the same order when operands are swapped. State what the result establishes and what it cannot establish. A bounded claim remains useful when the fixture, source, iterator, base temperature or observation method changes.
For an evidence check, choose one observation that the competing explanation would predict differently. Keep the event order and the decisive input visible. If the check cannot distinguish the explanations, redesign it before treating it as verification.
Transfer this chapter into a short Websites explanation: name the starting data, the decisive mechanism, the changed-context result and the remaining caveat. This four-part account lets a learner reuse the reasoning without memorising one fixture as a universal rule.
Continue with connected lessons
Trace Set.intersection order
Trace Set.intersection order. Compare a size-selected operation whose traversal can change result order.
Trace Set.difference work
Trace Set.difference work. Follow another result-producing method that can select different work by operand size.
Trace Set.symmetricDifference order
Trace Set.symmetricDifference order. Compare the removal and append rules for values contributed by exactly one side.
Frequently asked questions
Is JavaScript Set union commutative?
Membership is commutative for consistent sets, but observable iteration order can differ when operands are swapped.
Does union mutate the receiver?
No. It returns a new ordinary Set.
Why is other.has prepared if union uses keys?
GetSetRecord validates the complete set-like protocol before the method consumes keys.
Does the other size limit how many keys are read?
No. A valid size is prepared, while the keys iterator supplies the values.
What happens to duplicate yielded keys?
The first absent occurrence is appended and later equal occurrences are skipped.
Can two equal-looking objects merge?
Only when they are the same object reference; structural resemblance is not Set key identity.
Authoritative sources and further reading
ECMAScript: Set.prototype.union. Normative receiver copy, other-key traversal and result construction.
ECMAScript: GetSetRecord. Preparation of set-like size, has and keys.
TC39 Set methods proposal archive. Stage-four development record and matching algorithm context.
Return to the Websites subject guide, The Gold Standard of Education, or the How X Works hub.