1.Operator Precedence
2.Evaluation of Expressions
3.All comparison Operators
and Some Tips and Tricks
3.ExerCise
1// Evaluate the Following
a. var x=(x++)+(++x);
b. 2/3*3+1-((9*7-1)*8+2)
c. var x=10;
x=x/x*x+x-x
2.//Predict which of the following would return false/true
a.var x=0.3;
var y=0.300000004;
x==y;
b.var name='string';
var name2='strinG';
name==name2;
c. var dec=0.0;
var com=0;
dec==com
d.var f='false';
f==false;
e.22!=='22';
f.22!='22';
g.22!==22.0;
#OperatorPrecedence #PrecedenceTable #ComparisonOperator
#Javascript2019
0 Comments