mozilla

Revision 201379 of Operators

  • Revision slug: Talk:JavaScript/Guide/Obsolete_Pages/Operators
  • Revision title: Operators
  • Revision id: 201379
  • Created:
  • Creator: Exaton
  • Is current revision? No
  • Comment Precedence table reversed ?

Revision Content

Precedence Table

Hi. I was under the impression that it was more customary, in a precedence table, to list operators in decreasing order of precendence -- ie. the higher up in the table, the greater priority. I cite this table concerning C and C++ in Wikipedia as an example, and I'm pretty sure it's what I've always seen in textbooks... Anyone else with an opinion concerning this ?

Revision Source

<h3 name="Precedence_Table"> Precedence Table </h3>
<p>Hi. I was under the impression that it was more customary, in a precedence table, to list operators in decreasing order of precendence -- ie. the higher up in the table, the greater priority. I cite <a class="external" href="http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence">this table concerning C and C++</a> in Wikipedia as an example, and I'm pretty sure it's what I've always seen in textbooks... Anyone else with an opinion concerning this ?
</p>
Revert to this revision