archives

« Bugzilla Issues Index

#578 — 12.2 Declarations and the Variable Statement; IsConstantDeclaration returns false for both let and const


Currently, the "Static Semantics: IsConstantDeclaration" definition is as such:


LexicalDeclaration : LetOrConst BindingList ;
1. Return IsConstantDeclaration of LetOrConst.

LetOrConst: let
1. Return false.

LetOrConst: const
1. Return false.


LetOrConst: const should return "true"


corrected in editor's draft


fixed in rev10, Sept. 27 2012 draft