What is an operator and what are its types in JavaScript?

Question :

What is an operator and what are its types in JavaScript?

Operators are used for comparing values, perform arithmetic operations, etc. For example, if we take a simple expression, 4+5 is equal to 9. Here 4 and 5 called operands and ‘+’ is called the operator. JavaScript consists of different types of operators that are used to Perform different operations.

Types of JavaScript Operators There are different types of operators in JavaScript that are used for performing different Operations. Some of the JavaScript Operators include:

a. Arithmetic Operators

b. Comparison Operators

c. Bitwise Operators

d. Logical Operators

e. Increment/Decrement Operator

f. Bitwise Operator

g. Assignment Operators

h. Conditional Operator


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad