Typo in spec for to operator?

Mitch Skinner lists at arctur.us
Sun Jun 3 20:40:34 PDT 2007


Hello,

Hopefully this is the right forum, and hasn't already been discussed.  I
was reading the spec at
http://developer.mozilla.org/es4/spec/chapter_6_types.html#operator_to
and I noticed that the definition of to seems backwards:

====
The to operator appears in expressions of the form:

v to T

The to operator converts the value of the right side to a value of the
type on the left side.
====

Shouldn't that be "value of the left hand side to a value of the type on
the right hand side"?

Regards,
Mitch




More information about the Es4-discuss mailing list