Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: EvaluateClassStaticBlockBody cannot throw during function …
…instantiation (tc39#2931) FunctionDeclarationInstantiation only throws if there is a parameter expression (computed member in destructuring, or default value) which throws. In this case the "function object" being evaluated is a synthetic value created by ClassStaticBlockDefinitionEvaluation which is used to explain how static blocks work. This synthetic value does not have any parameters, so FunctionDeclarationInstantiation on it cannot throw.
- Loading branch information