on air

Javascript Comparison Operators.

back home » Scripting Tutorials » Javascript » Comparison Operators.


Comparison Operators Examples.

Comparison operators are used in a logical statement, to compare and determine the equality and or difference between variables and values. Lets say we have a variable that reads: x=3 then our comparison operations will be performed as follows.

See examples below.

Equal To Operator [==].

[x==4]  will return [false] simply because what we are looking for 
is the number 3.

Exactly Equal To Operator [===].

[x==="3"] will return [false] because "3" is not exactly as the number 3

Not Equal To Operator [!=].

[x!=5] will return [true] because x=3 and not 5

Not Exactly Equal To Operator [!==].

[x!==="3"] will return [false] because "3" is a string and is not exactly
equal to the number 3

Less Than Operator [<]..

[x<5] will return [true] because 3 is less than 5

Greater Than Operator [>].

[x>5] will return [false] because 3 is not greater than 5

Less Than Or Equal To Operator [<=].

[x<=5] will return [false] because 5 is less than nor equal to 3

Greater Than Or Equal To Operator [>=].

[x>=5] will return [true] because, though 5 is not equal to 3, it's greater
than 3

JS Comparison Operators.

Clicks4UrMind

Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.

Brain

Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.

To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...

SPYERA PHONE

Spyera Phone

Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.


Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.

Please Donate