/#!/JoePea schrieb:
```js export default function SomeFactory(name) { let tmp = { [name]() { /* this doesn't use `super` */ } } return tmp[name] } ```Then that will store each new `tmp` object in memory although the user of the factory only cares about the functions created.
Why would `tmp` be stored as the [[HomeObject]] when the function doesn't use `super`? In that case a [[HomeObject]] is not needed at all.
kind regards, Bergi _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

