My Java Full Stack Journey Learning in JavaScript

my-java-full-stack-journey-learning-in-javascript

Today Second day class in JavaScript. I shared the topics, What I learn Today.

Operators:
In programming and logic, an operator is a symbol or keyword that performs an action on one or more values (called operands).

Types of Operators:
.Arithmetic Operators
.Assignment Operators
.Comparison Operators
.Logical Operators
.String Operators
.Type Operators
.Ternary Operator (Conditional)
.Nullish Coalescing
.Optional Chaining

ParseInt() = method

String change into integer.

(NAN) = not a number

Arithmetic Operators:

`+`       Addition            
 `-`       Subtraction        
 `*`       Multiplication     
 `/`       Division            
 `%`       Modulus (remainder) 
 `**`      Exponentiation      
 `++`      Increment           
 `--`      Decrement           

Assignment Operators:

 `=`      
 `+=`     
 `-=`     
 `*=`    
 `/=`    
 `%=`     
 `**=`  

Comparison Operators:

`==`      Equal to (loose equality)              
 `===`     Equal value and type (strict equality)   
 `!=`      Not equal to                            
 `!==`     Not equal value or type                
 `>`       Greater than                       
 `<`       Less than                  
 `>=`      Greater than or equal               
 `<=`      Less than or equal     

Logical Operators:

&&  Logical AND 

!   Logical NOT

String Operators:

+   Concatenation   

+=  Append and assign   

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
july’s-top-product-management-reads

July’s top product management reads

Next Post
your-go-to-market-cheat-sheet

Your go-to-market cheat sheet

Related Posts