Logical operators tricks

by Mohan 2012-09-20 23:27:24


Logical operators tricks
var a = 5;
a == 5 && Print( 'a is 5 \n' );
a == 7 || Print( 'a is not 7 \n' );
prints:
a is 5
a is not 7
________________________________________


547
like
0
dislike
0
mail
flag

You must LOGIN to add comments