Jacob, Thanks for your explanation. I never thought about it that way before, but it makes complete sense.
On Wed, May 11, 2011 at 3:35 PM, Jacob Beard <[email protected]> wrote: > On Wed, May 11, 2011 at 6:21 PM, Nathan Sweet <[email protected]> > wrote: > > (someone > > smarter than me will tell you why * and / don't work, but my guess is > that > > they don't coerce the same way as the operators listed above). > > I think that +, -, and ! can be unary or binary operators in js > syntax, whereas * and / can only be binary operators. This makes sense > when you think about their meaning in mathematics. > > Best, > > Jake > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
