archives

« Bugzilla Issues Index

#2324 — 9.2.10: No get/set prefix for accessor property for empty string


9.2.10 SetFunctionName Abstract Operation, step 4:

The get/set prefix is not prepended for accessor properties for the empty string. It's unclear whether the newly added sub-condition `name is not the empty string` should also apply in this case or only for symbol-keyed properties without a [[Description]] field.

Example:
The function name for the getter in `({get ""(){}})` will not be set to "get " but instead to "".


fixed in rev26 editor's draft.

The names of such properties is now "get " or "set "


fixed in rev26