Virtual Open Schooling Online courses available at Virtual Open Schooling (VOS), for more details kindly click here!
NIOS Silver Jubilee Year
NIOS

Difference between revisions of "List of operators used in JavaScript"

From NIOS
Jump to: navigation, search
Line 27: Line 27:
 
The following table shows the list of operators used in JavaScript:
 
The following table shows the list of operators used in JavaScript:
  
[[File:javascript3.png|center|Java Script Operators]]
+
[[File:javascript3.png|center|Java Script Operators|800px]]
  
 
{| class="wikitable" style="float:right;margin:1em;width:300px;"
 
{| class="wikitable" style="float:right;margin:1em;width:300px;"

Revision as of 06:37, 9 August 2012

Previous Page Home Page Next Page
ICT Applications

An operator is used to transform one or more values into a singleresultant value. In JavaScript, operators are used in expressions tostore or return a value.

JavaScript operators are classified as:

* Arithmetic

* Logical

* Comparison

* String


An operator operates on operand or operands. The combination of oneor more operators is referred to as an expression.


For example: netPayment=netPrice+salesTax

In this example “+” operator operates on operand netPrice andsales Tax and its result assigned to variable net Payment.

The following table shows the list of operators used in JavaScript:

Java Script Operators
Previous Page Home Page Next Page
ICT Applications