Skip to content

Tag Archives: javascript-operators

In this article, we will see the calculation such as multiplication and division using Javascript. An arithmetic operation operates on two numbers and numbers are… Read More
The remainder operator in JavaScript is used to get the remaining value when an operand is divided by another operand. In some languages, % is… Read More
In this article, we will see how we can use multiple ternary operators in a single statement in JavaScript. Sometimes using conditional statements like if,… Read More
JavaScript remainder assignment operator (%=) assigns the remainder to the variable after dividing a variable by the value of the right operand. Syntax: Operator: x… Read More
The Unary negation(-) operation is a single operand operator (which means it worked with only a single operand preceding or succeeding to it), which is… Read More
The Unary plus(+) operation is a single operand operator (which means it worked with only a single operand preceding or succeeding to it), which is… Read More
This operator is represented by x ||= y  and it is called a logical OR assignment operator. If the value of x is falsy then… Read More
This operator is represented by x &&= y, and it is called the logical AND assignment operator. It assigns the value of y into x… Read More
Operators are used to performing specific mathematical and logical computations on operands. In other words, we can say that an operator operates the operands. In… Read More
This is a new operator introduced by javascript. This operator is represented by x ??= y and it is called Logical nullish assignment operator. Only… Read More
This is a special kind of operator in JavaScript. To understand the double tilde operator, first, we need to discuss the tilde operator or Bitwise… Read More
This article is going to discuss the delete operator available in JavaScript. Delete is comparatively a lesser-known operator in JavaScript. This operator is more specifically… Read More
Unary Operator: A unary operation contain only one operand. Here, the ‘+’ unary plus operator converts its operand to Number type. While it also acts… Read More
A comma operator (,) mainly evaluates its operands from left to right sequentially and returns the value of the rightmost operand. A comma operator is… Read More
Operator precedence refers to the priority given to operators while parsing a statement that has more than one operator performing operations in it. It is… Read More

Start Your Coding Journey Now!