Which engine is right about with statement and Symbol.unscopables?

Michał Wadas michalwadas at gmail.com
Mon Feb 20 15:00:28 UTC 2017


http://stackoverflow.com/questions/40595389/why-does-browser-get-symbol-unscopables-twice

Which implementation is bugged? Can someone familiar specification
details fill bug in proper engine?

    |vara,b,flag =truewith(a ={x:7})with(b
    ={x:4,get[Symbol.unscopables](){return{x:flag=!flag }}})x++// Chrome
    FFconsole.log(a)// {x:5} {x:7}console.log(b)// {x:4} {x:8}|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170220/81c31de8/attachment.html>


More information about the es-discuss mailing list