Summary: | Wrong realization of eval() | ||
---|---|---|---|
Product: | WebKit | Reporter: | sunlili |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | fpizlo, keith_miller, mark.lam, webkit-bug-importer, ysuzuki |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
sunlili
2019-12-24 00:18:45 PST
I believe this behaves correctly, https://tc39.es/ecma262/#sec-runtime-semantics-caseblockevaluation, produces a normal completion of undefined if the StatementList if the case label has no production. |