Olov Lassus (2013-10-30T16:28:23.000Z)
2013/10/30 Vyacheslav Egorov <me at mrale.ph>

> 5. A one shot property Math.H is created that returns ch' on the first
> access and deletes itself.
>

Alternative step 5: Math.H is assigned ch'.

Rationale being faster polyfilled execution, in combination with a lack of
imagination from my side to come up with a use case where any code would be
interested in knowing (at run-time) whether Math.H exists or not (i.e.
whether it has already been read). Does such a use case exist?

If all of JSC, Chakra, V8 et.al reliably optimizes away most overhead of a
polyfilled Math.H getter then perhaps this does not matter.

/Olov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131030/549b1481/attachment.html>
domenic at domenicdenicola.com (2013-11-03T22:19:32.702Z)
2013/10/30 Vyacheslav Egorov <me at mrale.ph>

> 5\. A one shot property `Math.H` is created that returns ch' on the first access and deletes itself.

Alternative step 5: `Math.H` is assigned `ch'`.

Rationale being faster polyfilled execution, in combination with a lack of
imagination from my side to come up with a use case where any code would be
interested in knowing (at run-time) whether `Math.H` exists or not (i.e.
whether it has already been read). Does such a use case exist?

If all of JSC, Chakra, V8 et.al reliably optimizes away most overhead of a
polyfilled `Math.H` getter then perhaps this does not matter.
domenic at domenicdenicola.com (2013-11-03T22:17:24.477Z)
2013/10/30 Vyacheslav Egorov <me at mrale.ph>

> \5. A one shot property `Math.H` is created that returns ch' on the first access and deletes itself.

Alternative step 5: `Math.H` is assigned `ch'`.

Rationale being faster polyfilled execution, in combination with a lack of
imagination from my side to come up with a use case where any code would be
interested in knowing (at run-time) whether `Math.H` exists or not (i.e.
whether it has already been read). Does such a use case exist?

If all of JSC, Chakra, V8 et.al reliably optimizes away most overhead of a
polyfilled `Math.H` getter then perhaps this does not matter.