JavaScript Operator Priority


JavaScript Operator Priority  
When we involve many operators in one operation, the navigator must know the sequence where the surgery is done on a priority basis from the service.

Here is a table of priority of all operators :

Operator Priority
1.
()
[]










2.
--
++
!
~
-







3.
*
/
%









4.
+
-










5.
< 
<=
>=
> 








6.
==
!=










7.
^











8.
|











9.
&&
||










10.
?
:










11.
=
+=
-=
*=
/=
%=
<<=
>>=
>>>=
&=
^=
|=
12.
,











0 comments:

Post a Comment