[Webkit-unassigned] [Bug 31813] Add support for block scope const
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 16 13:20:50 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=31813
--- Comment #6 from Andy Wingo <wingo at igalia.com> 2011-11-16 13:20:50 PST ---
(In reply to comment #4)
> Please read the latest draft before you start.
>
> http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts
Thanks for the pointer. I still don't understand all of the tc39 process.
> There is no sentinel and const declaration requires an initializer.
Though the const declaration requires an initializer, there is still a sentinel AFAIU. See for example the V8 mail I linked to before, or Brendan's reply to that.
> > There are also some wrinkles that in top-level strict contexts, `const' should create non-writable, non-configurable properties. Full details on the linked page.
>
> Also, in Harmony there is no global object like that. Global variables does not create properties on global.
Well, I'll take a look again. I was basing my interpretations on es-discuss proceedings from the last month or so.
Thanks for the valuable feedback, though it does make me a little less sure of what the spec is right now ;)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list