Bug 143654

Summary: 'const' declarations in JSC should follow the ES6 spec
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: 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:    

Description Saam Barati 2015-04-12 18:43:05 PDT
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.
Comment 1 Saam Barati 2015-07-09 18:00:36 PDT

*** This bug has been marked as a duplicate of bug 31813 ***