archives

« Bugzilla Issues Index

#2937 — informal language about properties in "19.1.2.3.1 Runtime Semantics: ObjectDefineProperties Abstract Operation"


Step 3 of the ObjectDefineProperties algorithm reads:

> 3. Let names be a List containing the keys of each enumerable own property of props.

It should probably do something involving props.[[OwnPropertyKeys]](), like the algorithm for Object.keys().

(This algorithm is meant to see both symbol-keyed and string-keyed properties on props, right?)


(Bumping this bug's Version from Rev23 to Rev25, the revision that was current when the bug was filed.)


fixed in rev26 editor's draft

and yes, both string and symbol keys are processed


in rev26