  | | | Operator precedence :: A proposal | Operator precedence :: A proposal 2004-03-13 - By Morten Barklund
Back > Just for me, what are u talking about?
The order in which operators are evaluated when no parenthesis are used.
4 + 5 * 6
Gives 34 (4+30) and not 54 (9*6), due to precedence of * being higher than the precedence of +.
Just completing the table from flash 5 with the newest operators - strict (in)equality and instanceof...
And changing it a bit in order to comply with the javascript and ecmascript versions of the same...
- okay, I'm writing a book, and such a table is always needed there ;)
// Morten Barklund // DKMMUG Manager
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106838 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |