Indeed, but my linting rules forbid using the comma operator :-)

On Sat, Jan 28, 2017 at 11:17 AM, Oriol _ <[email protected]>
wrote:

> > I fixed it by putting the function inside `Object()`
>
> You can also use the comma operator:
>
> ```js
> var anon = (0, function () {});
> anon.name; // ""
> ```
>
> ;Oriol
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to