archives

« Bugzilla Issues Index

#3085 — 20.3.4.41: redundant type-check


In 20.3.4.41 "Date.prototype.toString ( )",
step 2 says:
If Type(O) is Object and O does not have a [[DateValue]] internal slot, then

but the "Type(O) is Object" check is redundant,
because the semantics of "this Date object"
guarantee that Type(O) is Object.


fixed in rev27 editor's draft


fixed in rev27 draft