Commit a7bdc11
committed
chore(claude): document Set constructor argument sort rule
`new Set([...])` and `new SafeSet([...])` arguments are
order-insensitive at runtime, so the source-order convention is
alphanumeric — same rationale as Array literals (predictable diffs,
no merge conflicts on insertions).
Synced from socket-lib's canonical Sorting section.1 parent 36596ae commit a7bdc11
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments