« Bugzilla Issues Index

#1638 — 8.3.15: misc

8.3.15 ObjectCreate(...)

The preamble says:
If the list is not provided, an empty List is used.

so the algorithm should have a step that says:
If internalDataList was not provided,
let internalDataList be an empty List.


The preamble also says:
If no arguments are provided %ObjectPrototype% is used as its value.

1. There's no antecedent for "its". Could change to:
... as the value for proto.
2. The preamble didn't say that proto was an optional argument.
3. There are only 2 invocations of ObjectCreate without any args: and
So you could easily make proto non-optional (and delete the above sentence).
Or you could keep it optional and abbreviate all the invocations that
redundantly pass %ObjectPrototype%.

fixed in rev17 editor's draft

fixed in rev17, August 23, 2013 draft