Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
About Lesson

Type of operator

            ये unary और binary दो तरह के होते है

i. unary operator वो operators होते है जो सिर्फ एक ही variable पर ही apply होते है जैसे की (~) NOT operator है ये operator सिर्फ एक ही variable के साथ apply किया जाता है

ii. binary operator वो operators होता है जिनके execution के लिए 2 operators को required होते है जैसे की (+) operator होता है इस operator को आप किसी single variable के साथ प्रयोग नहीं कर सकते है इस variable को एक्सीक्यूट होने के लिए 2 operands की आवश्यकता होती है

जावास्क्रिप्ट में निम्नलिखित प्रकार के ऑपरेटर हैं।

  1. Arithmetic operators

  2. Relational operators/comparison Operator

  3. Logical operators

  4. Assignment operators

  5. Increment and decrement operators

  6. Conditional operators

  7. Bitwise Operators

  8. Special operators

 

 

Type of operator

               These are of two types of operator- unary and binary.

i. Unary operators are those operators which are applied only on one variable, such as (~) is NOT operator, this operator is applied only with one variable.

ii. Binary operators are those operators for which 2 operators are required for execution, such as (+) operator. You cannot use this operator with a single variable. This variable requires 2 operands to be executed. is required

There are following types of operators in JavaScript.

  1. Arithmetic operators

  2. Relational operators/comparison Operator

  3. Logical operators

  4. Assignment operators

  5. Increment and decrement operators

  6. Conditional operators

  7. Bitwise Operators

  8. Special operators

error: Content is protected !!