Proposal: Object.defineProperty shorthand
Mike Shaver
mike.shaver at gmail.com
Thu May 26 11:43:44 PDT 2011
On Thu, May 26, 2011 at 11:37 AM, Sean Eagan <seaneagan1 at gmail.com> wrote:
> // ! implies non-writable, ~ implies non-enumerable
> // all assignment operators can be used
> ! a.b += c
Legal parse today, though I'm not sure you can get runtime semantics
that aren't an error.
> !~a.b++
> !(~(a.b++))
Legal expressions today with valid meanings.
Mike
More information about the es-discuss
mailing list