Regardless of whether `this` is permitted as the property name of an
object, why not use `console.log(this, arguments, externalVar)`? (Out of
interest)

On 21 Apr 2017 6:01 p.m., "Michał Wadas" <[email protected]> wrote:

Hi.

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

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to