shapesecurity / shift-scope-js

scope analyser for the Shift AST
http://shift-ast.org/scope.html
Apache License 2.0
11 stars 6 forks source link

Const is function scoped in Firefox and Chrome. #12

Closed ikarienator closed 9 years ago

michaelficarra commented 9 years ago

That's not a question. Also, this shouldn't matter to us.

ikarienator commented 9 years ago

What will be the principle of deciding which part is ES5 compliant and which part is implementation compliant?

michaelficarra commented 9 years ago

All of it is ES5 compliant. Except we support ES6 let/const with a binding identifier and block declarations. That support needs to conform to ES6, as it does.