diff --git a/README.md b/README.md index c678717..9992a1e 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,8 @@ parameters: ```js doWork((_, a, _1, _2, b) => {}); // vs. +doWork((...[, a, , , b]) => {}); +// vs. doWork((void, a, void, void, b) => { }); ``` @@ -495,4 +497,4 @@ The following is a high-level list of tasks to progress through each stage of th [Explicit Resource Management]: https://github.com/tc39/proposal-explicit-resource-management [using-void]: https://github.com/tc39/proposal-explicit-resource-management/blob/main/future/using-void-declaration.md [Extractors]: https://github.com/tc39/proposal-extractors -[Pattern Matching]: https://github.com/tc39/proposal-pattern-matching \ No newline at end of file +[Pattern Matching]: https://github.com/tc39/proposal-pattern-matching