archives

« Bugzilla Issues Index

#1074 — 9.1.1: undefined "O"


In 9.1.1 "ToPrimitive",
algorithm 1 steps 4, 6.b, 8 refer to metavariable "O",
which is not defined.

Change to "argument", or start with a step "Let O be argument."


Same algorithm,
step 6.a says:
If IsCallable(toString) is false, then throw a TypeError exception.
but 'toString' is not defined.

Change to "exoticToPrim".


Same algorithm,
step 6.d says:
If result is an ECMAScript language value and Type(resul) is not Object,
then return result.
but "resul" is not defined.

Change to "result".


(That last one duplicates the first point of Bug 989.)


fixed in rev 13 editor's draft