{this} object literal

Michał Wadas michalwadas at gmail.com
Fri Apr 21 17:01:37 UTC 2017


Is there any specific reason why {this} literal is forbidden? Babel had a
bug allowing this and it was pretty convenient to enter console.log({this,
arguments, externalVar}) for quick printing scope.

Michał Wadas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170421/e8e0c376/attachment.html>

More information about the es-discuss mailing list