Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `...` in function call syntax is not an operator. It's more of a punctuation supported in various places (function call, function definition, array/object definitions, destructuring syntax), but specific to those. It does not produce a value like actual operators do. I'd appreciate it if we can avoid spreading (no pun intended) this misconception. While "spread argument" isn't an official term either, there is none (https://www.ecma-international.org/ecma-262/9.0/index.html#sec-argument-lists), it's probably the closest reasonable term. Happy for alternative suggestions though, or to hear the reasons why this shouldn't be corrected.
- Loading branch information