archives

« Bugzilla Issues Index

#672 — Specify ToPropertyName


Per the harmonized private_name_objects proposal[0]:

"The semantics of property lookup is generalized such that wherever ToString was used for property names in ES5, this is replaced with a new ToPropertyName operation. For a Name object x, ToPropertyName produces x. For any other value y, it produces ToString(y)."




[0]http://wiki.ecmascript.org/doku.php?id=harmony:private_name_objects


in rev 12 draft


corrected in rev 12, Nov. 22, 2012 draft