JS Tutorials : What is Operators in JavaScript (Arithmetic Operators 2024)

Publicado em: 27 Setembro 2023
no canal de: Progrramers
14
1

This is the continuation video of the JavaScript Tutorial Series and this is the 5th Video as well
In the previous video, we discussed about Variable Scope. Now in this video, we will take a deep look into the Operators and Specially Arithmetic Operators.
Following are the Types of JavaScript Operators
1. Arithmetic Operators
2. Assignment Operators
3. Comparison Operators
4. String Operators
5. Logical Operators
6. Bitwise Operators
7. Ternary Operators
8. Type Operators

Arithmetic Operators
Sl. No. Operator Symbol Operator Description
1. + (Plus) Addition
2. - (Minus) Subtraction
3. * (Asterisk) Multiplication
4. / (Forward Slash) Division
5. % (Percent) Modulus (Division Remainder)

Sl. No. Operator Symbol Operator Description
1. ++ (Plus- Plus) Increment (Postfix and Prefix)
2. -- (Minus - Minus) Decrement (Postfix and Prefix)
3. ** (Double Asterisk) Exponentiation

Arithmetic Operators Precedence
Sl. No. Operator Symbol Operator Precedence Description
1. ( ) Parentheses Always First
2. / (Slash) or * (Asterisk) Division or Multiplication (Which Comes First)
3. + (Plus) or - (Minus) Addition or Subtraction (Which Comes First)

Arithmetic Operators' Precedence can be described as a priority while performing arithmetic calculations. Division and Multiplication have the same precedence in JavaScript Arithmetic Calculation but both have higher precedence than Addition and Subtraction. While Addition and Subtraction have the same precedence. Just because JavaScript code processing is performed from Left to Right, the priority between Division and Multiplication will be preferred first as they are present in JavaScript Codes but higher than Addition and Subtraction, and the same thing applies to Addition and Subtraction.

 
website:- https://www.progrramers.com
Facebook Page:-   / theprogrramers  
Instagram:   / c.kumar  
**************************************************
Other Websites :
https://sarkarijobs.link


Facebook Shop:
  / shop  


Nesta página do site você pode assistir ao vídeo on-line JS Tutorials : What is Operators in JavaScript (Arithmetic Operators 2024) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Progrramers 27 Setembro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 14 vezes e gostou 1 espectadores. Boa visualização!