Bug 143654
| Summary: | 'const' declarations in JSC should follow the ES6 spec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | fpizlo, ggaren, mark.lam, mhahnenb, mmirman, msaboff, oliver |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 142944 | ||
| Bug Blocks: | |||
Saam Barati
We should make 'const' use lexical scoping (https://bugs.webkit.org/show_bug.cgi?id=31813)
and we should throw a syntax error if a const declaration does not have an initializer.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Saam Barati
*** This bug has been marked as a duplicate of bug 31813 ***