2013/10/30 Vyacheslav Egorov <m...@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.

es-discuss mailing list

Reply via email to