# Operators

The operators handle various operations such as assign values, evaluate data, group expressions, perform arithmetic and more.

### Keyword Operators

delete – delete an object property or a value at a specific array index.

in – returns true if left operand is in the right operand.

instanceof – returns true if left operand is an object instance of the right operand. new – create a new instance of an object. this – local access to an object.

typeof – returns the object type.

void – evaluate expression and return ‘undefined’.

yield – pause and resume a generator function.

### Assignment and Grouping Operators

= assign value of operand b to operand a. ( ) group expressions to set precedence.

### String Operators

+ concatenate string data. += append string data.

### Comparison Operators

== check if a is equal to b === check if a is strictly equal to b != check if a is not equal to b !== check if a is strictly not equal to b < check if a is less than b > check if a is greater than b <= check if a is less than or equal to b >= check if a is greater than or equal to b ? ternary operator

### Arithmetic Operators

+ perform addition on numbers perform subtraction on numbers * perform multiplication on numbers / perform division on numbers ++ increment a number by one decrement a number by one % modulus – find the remainder

### Logical Operators

|| (logical or) evaluate a or b or c or etc… && (logical and) evaluate a and b and c and etc… ! (logical not) evaluate if a is not , (comma) establish multiple parameters

### Shorthand Assignment Operators

+= a += b is shorthand for: a = a + b -= a -= b is shorthand for: a = a – b *= a *= b is shorthand for: a = a * b /= a /= b is shorthand for: a = a / b %= a %= b is shorthand for: a = a % b <<= a <<= b is shorthand for: a = a << b >>= a >>= b is shorthand for: a = a >> b >>>= a >>>= b is shorthand for: a = a >>> b &= a &= b is shorthand for: a = a & b ^= a ^= b is shorthand for: a = a ^ b |= a |= b is shorthand for: a = a | b

### Spread Operator

enables an object to spread where comma separated values are expected. #### renewdev

I Am Developer And Want To Share My Knowledge With The World..:) ;) . I Have Another Social Networking Website (Renewchat) And For Designing Or Developing Of Website Purpose You Can Contact Me On Renew Coder .. :) ;)