Scenario
In this tutorial you'll learn what Operators are, and how they function in JavaScript. I'll recommend you take your time and study the table below keenly.
Operators seems to be a bit complicated if you just flash through the table without concentration. However, they are very easy to grasp like ABC.
Operators And Their Functions.
Operators are used to perform operations on text and numeric values in scripts.
See Table Below.
Operators | Explaining Arithmetic Operators | Usage | |
---|---|---|---|
+ | Addition Operator is used to perform additions on numeric data, and also used to put Strings together forming a statement. (Concatenation) | x + y | |
- | Subtraction operator | x - 4 | |
/ | Divition Operator | x / y | |
* | Multiplication Operator | x * y | |
% | The modulus is used, finding the remainder of an equation. And whenever an equation results is rounded will it = 0. | x % y | |
+ + | This causes an increment by one. | x + + | |
- - | This causes a decrement by one. | x - - | |
Operators | Explaining Assignment Operators | Usage | |
= | This swaps the value on its right into the operand on its left. | x = 1 | |
+ = | This goes like so; x equals x + y | [x=x+y] | x + = y |
- = | This goes like so; x equals x - y | [x=x-y] | x - = y |
* = | This goes like so; x equals x * y | [x=x*y] | x * = y |
/ = | This goes like so; x equals x / y | [x=x/y] | x / = y |
% = | This finds the remainder in x % y | [x=x%y] | x % = y |
Operator | Explaining Comparison Operators | Usage | |
= = | Is equal to | x = = y | |
= = = | Is exactly equal to type and value | x = = = y | |
! = | Is not equal to | x ! = y | |
< | Is less than | x < y | |
> | Is greater than | x > y | |
< = | Is less than or equal to | x < = y | |
>= | Is greater than or equal to | x > = y | |
Operators | Explaining Logic Operators | ||
! | This sign means "not" - Placing the sign in front of a value will bring it to a not or null. [Meaning value is empty] | ||
|| | This is an "Or" - It's used to add more comparisons in one evaluation statement, where only one must meet. | ||
&& | This is an "And" - It's used to add more comparisons in one evaluation statement, where all must meet. | ||
? | Ternary is used, performing simple evaluations, and returning results. This operator, works with three operands. [condition ? value if true; value if false;] |
JS Operators.
Javascript Tutorials.
Top Articles.
- The Hottest Stuff. Burning Hot!
- How To Find Success In Business
- Free Website Creation Tutorials
- Free Blog Creation Tutorials
- Scripting Tutorials
- Adobe Trail Products And Tutorials
- Sony Creative Software Tutorials And Trails
- Entertainment Corner, More Music And Videos
- Explaining Bitmap And Vector Graphics
- Desktop Audio Recording Setup
- Audacity, A Robust Free Audio Recording Software
- Learn Digital Sound Recording And Editing.
- Learn How To Use FL-Studio Easily.
- Selective Youtube Web-Video Tutorials.
- Get The In-Depth Free SEO Training.
- Affiliate Marketing Tips And Tricks
- Ghana Oil Boom.
- File Synchronization Tool
- Get Free Templates For Your Website
- Download Absolute Free Software
- Visit Our Knowledge Base
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.
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...
Advertise your business here
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.