Articles tagged: Operator
Found 26 documents
- Web/JavaScript/Reference/Operators/Arithmetic_Operators Arithmetic operators take numerical values (either literals or variables) as their operands and ...
- Web/JavaScript/Reference/Operators/Array_comprehensions The array comprehension syntax is a JavaScript expression which allows you to quickly assemble a ...
- Web/JavaScript/Reference/Operators/Assignment_Operators An assignment operator assigns a value to its left operand based on the value of its right operand.
- Web/JavaScript/Reference/Operators/Bitwise_Operators Bitwise operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than ...
- Web/JavaScript/Reference/Operators/class The class expression is one way to define a class in ECMAScript 2015 (ES6). Similar to function ...
- Web/JavaScript/Reference/Operators/Comma_Operator The comma operator evaluates each of its operands (from left to right) and returns the value of ...
- Web/JavaScript/Reference/Operators/Comparison_Operators JavaScript has both strict and type–converting comparisons. A strict comparison (e.g., ===) is ...
- Web/JavaScript/Reference/Operators/Conditional_Operator The conditional (ternary) operator is the only JavaScript operator that takes three operands. ...
- Web/JavaScript/Reference/Operators/delete The delete operator removes a property from an object.
- Web/JavaScript/Reference/Operators/Destructuring_assignment The destructuring assignment syntax is a JavaScript expression that makes it possible to extract ...
- Web/JavaScript/Reference/Operators/function The function keyword can be used to define a function inside an expression.
- Web/JavaScript/Reference/Operators/function* The function* keyword can be used to define a generator function inside an expression.
- Web/JavaScript/Reference/Operators/Grouping The grouping operator () controls the precedence of evaluation in expressions.
- Web/JavaScript/Reference/Operators/in The in operator returns true if the specified property is in the specified object.
- Web/JavaScript/Reference/Operators/instanceof The instanceof operator tests whether an object has in its prototype chain the prototype ...
- Web/JavaScript/Reference/Operators/Logical_Operators Logical operators are typically used with Boolean (logical) values. When they are, they return a ...
- Web/JavaScript/Reference/Operators/new The new operator creates an instance of a user-defined object type or of one of the built-in ...
- Web/JavaScript/Reference/Operators/Operator_Precedence Operator precedence determines the order in which operators are evaluated. Operators with higher ...
- Web/JavaScript/Reference/Operators/Property_Accessors Property accessors provide access to an object's properties by using the dot notation or the ...
- Web/JavaScript/Reference/Operators/Spread_operator The spread syntax allows an expression to be expanded in places where multiple arguments (for ...
- Web/JavaScript/Reference/Operators/super The super keyword is used to call functions on an object's parent.
- Web/JavaScript/Reference/Operators/this A function's this keyword behaves a little differently in JavaScript compared to other ...
- Web/JavaScript/Reference/Operators/typeof The typeof operator returns a string indicating the type of the unevaluated operand.
- Web/JavaScript/Reference/Operators/void The void operator evaluates the given expression and then returns undefined.
- Web/JavaScript/Reference/Operators/yield The yield keyword is used to pause and resume a generator function (function* or legacy ...
- Web/JavaScript/Reference/Operators/yield* The yield* expression is used to delegate to another generator or iterable object.