Skip to content

Tag Archives: javascript-operators

Both the expression almost looks same when we focused on || (Or) operator, but both the expression are different to each other. To know the… Read More
ECMAScript is a part of JavaScript language which is mostly used in web technology, building websites, or web apps. ECMAScript is growing as one of… Read More
In this article, we will learn to create a function that invokes a function with partials appended to the arguments it receives in JavaScript. Approach:… Read More
In JavaScript, objects are a collection of related data. It is also a container for name-value pairs. In JavaScript, we can check the type of… Read More
In JavaScript, unlike many other programming languages, we do not specify the type of a variable while declaring it, rather the variable’s type is automatically… Read More
An arithmetic operation operates on two numbers and numbers are called operands.  Multiplication The multiplication operator (*) multiplies two or more numbers. Example: var a… Read More
Remainder operator is JavaScript is used to get the remaining value when an operand is divided by another operand. In some languages, % is considered… 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
The 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
Unary negation(-) operation is a single operand operator (which means it worked with only a single operand preceding or succeeding to it), which is used… Read More
Unary plus(+) operation is a single operand operator (which means it worked with only a single operand preceding or succeeding to it), which is used… Read More
This operator is represented by x ||= y  and it is called logical OR assignment operator. If the value of x is falsy then the… 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