mirror of
https://github.com/morluto/rea.git
synced 2026-11-23 06:55:55 +00:00
fix(javascript): account for active nullish pattern defaults
This commit is contained in:
1 parent
8ae636b6ab
commit
c1943f196c
4 files changed
+18
-3
No files matched your search
@@ -246,6 +246,8 @@ Destructuring retains dependencies from the source slots proved at the time
|
||||
of the read. A later write does not replace an earlier proved dependency.
|
||||
After a nested pattern is proved to receive a nullish value and throw, later
|
||||
bindings in that pattern retain candidate paths with no proven initializer.
|
||||
If the selected slot is known to be undefined, the proof includes the nested
|
||||
pattern's default initializer.
|
||||
A numeric key in an object pattern selects a named property directly.
|
||||
Nested array patterns can preserve dependencies for later bindings when
|
||||
element selection is known and iterator closing cannot invoke a return hook.
|
||||
|
||||
Reference in new issue
Block a user