> 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