Non-binding destructuring assignment

Tab Atkins Jr. jackalmage at gmail.com
Wed Apr 29 17:50:41 UTC 2015


On Wed, Apr 29, 2015 at 10:44 AM, Rick Waldron <waldron.rick at gmail.com> wrote:
> Why "_"? A linter can just allow the end developer to define the binding
> name.
>
> https://github.com/jshint/jshint/issues/2352

Of course.  _ is just a common name for the "i don't care" destructuring slot.

~TJ


More information about the es-discuss mailing list