| 1 |
^ Operators with higher level of precedence calculate first |
| 2 |
a) levels from 20 till 1 |
| 3 |
`20 grouping ( ... ) |
| 4 |
`19 access to properties ... . ... |
| 5 |
`19 access to properties with possibility of calculating [ ... ] |
| 6 |
`19 new (with a list of arguments) "new ... ( ... )" |
| 7 |
`19 call function ... ( ... ) |
| 8 |
`18 new (without a list of arguments) "new ..." |
| 9 |
`17 postfix increment ... ++ |
| 10 |
`17 postfix decrement ... -- |
| 11 |
`16 negation ! ... |
| 12 |
`16 bitwise negation ~ ... |
| 13 |
`16 unary plus + ... |
| 14 |
`16 unary minus - ... |
| 15 |
`16 prefix increment ++ ... |
| 16 |
`16 prefix decrement -- ... |
| 17 |
`16 typeof "typeof ..." |
| 18 |
`16 void "void ..." |
| 19 |
`16 delete "delete ..." |
| 20 |
`16 await "await ..." |
| 21 |
`15 exponentiation ... ** ... |
| 22 |
`14 multiplication ... * ... |
| 23 |
`14 division ... / ... |
| 24 |
`14 the remainder ... % ... |
| 25 |
`13 addition ... + ... |
| 26 |
`13 subtraction ... - ... |
| 27 |
`12 bit shift to the left ... << ... |
| 28 |
`12 bit shift to the right ... >> ... |
| 29 |
`12 shift to the right with filling zeros ... >>> ... |
| 30 |
`11 less ... < ... |
| 31 |
`11 less or equally ... <= ... |
| 32 |
`11 more ... > ... |
| 33 |
`11 more or equally ... > ... |
| 34 |
`11 in ... in ... |
| 35 |
`11 instanceof ... instanceof ... |
| 36 |
`10 equally ... == ... |
| 37 |
`10 not equally ... != ... |
| 38 |
`10 strictly equally ... === ... |
| 39 |
`10 strictly not equally ... !== ... |
| 40 |
`9 bitwise And ... & ... |
| 41 |
`8 bitwise excepting Or ... ^ ... |
| 42 |
`7 bitwise Or ... | ... |
| 43 |
`6 logical And ... && ... |
| 44 |
`5 logical Or ... || ... |
| 45 |
`4 conditional ... ? ... : ... |
| 46 |
`3 assignment ... = ... |
| 47 |
`3 assignment ... += ... |
| 48 |
`3 assignment ... -= ... |
| 49 |
`3 assignment ... **= ... |
| 50 |
`3 assignment ... *= ... |
| 51 |
`3 assignment ... /= ... |
| 52 |
`3 assignment ... %= ... |
| 53 |
`3 assignment ... <<= ... |
| 54 |
`3 assignment ... >>= ... |
| 55 |
`3 assignment ... >>>= ... |
| 56 |
`3 assignment ... &= ... |
| 57 |
`3 assignment ... ^= ... |
| 58 |
`3 assignment ... ^= ... |
| 59 |
`3 assignment ... |= ... |
| 60 |
`2 yield |
| 61 |
`2 yield* |
| 62 |
`1 comma/sequence ... , ... |
Комментарии