Typo in spec for to operator?

# Mitch Skinner (19 years ago)

Hello,

Hopefully this is the right forum, and hasn't already been discussed. I was reading the spec at 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"?

, Mitch

# Jeff Dyer (19 years ago)

Mitch,

You've got the right forum, and the bug hasn't been reported yet. Thanks!

Look for the fix in the next export (ETA TBD)

Thanks again,