Optional Curly Braces in JavaScript

Sanford Whiteman swhitemanlistens-software at figureone.com
Sun Nov 3 19:41:03 UTC 2019


The single character

    _

*is already a valid identifier* as Ron said.

And not an obscure one (not that that would matter) but rather *the
global object used by the Underscore library*.

You might as well be using

    $

here and trying to convince people to stop using it as the top level
of their library.



More information about the es-discuss mailing list