JAVASCRIPT OPERATOR

Lavanya



JavaScript Operators

JavaScript operators are symbols used to execute operations on operands.

var sum = 10+5;

In this context, `+` is an arithmetic operator, while `=` is an assignment operator.

The following are the types of operators in JavaScript.

1. Arithmetic Operators

2. Comparison (Relational) Operators

3. Bitwise Operators

4. Logical Operators

5. Assignment Operators

6. Special Operators

JavaScript Arithmetic Operators

Arithmetic operators are used to perform mathematical operations on operands. The operators listed below are known as JavaScript arithmetic operators.



JavaScript Comparison Operators

JavaScript comparison operators are used to compare two operands. The following are the comparison operators:
Bitwise operators perform operations on the individual bits of operands. The following are the bitwise operators:



JavaScript Bitwise Operators

The operators listed below are known as JavaScript logical operators.



JavaScript Logical Operators

The operators listed below are known as JavaScript logical operators.



JavaScript Assignment Operators

The operators listed below are referred to as JavaScript assignment operators.



JavaScript Special Operators

The operators listed below are known as JavaScript special operators.










Tags
Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send