About 611,000 results
Open links in new tab
  1. Conditional (ternary) operator - JavaScript | MDN

    Jul 8, 2025 · The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is truthy …

  2. JavaScript Assignment Operators - Tutorial Gateway

    The JavaScript Assignment operators are used to assign values to the declared variables. Equals (=) operator is the most commonly used assignment operator. For example: var i = 10; The below table …

  3. Assignment Operator in JavaScript - Scientech Easy

    Mar 2, 2026 · An operator that is used to assign/update the value of a variable is called assignment operator in JavaScript. The most common assignment operator is equal operator “=”, which assigns …

  4. Remainder assignment (%=) - JavaScript - MDN

    Jul 8, 2025 · The remainder assignment (%=) operator performs remainder on the two operands and assigns the result to the left operand.

  5. Introduction: The Assignment operator - The complete JavaScript

    The simple assignment operator In JavaScript, as well as in a lot of other programming languages, you can assign a value using the equality sign: = It's sometimes referred to as the simple assignment …

  6. Assignment operators - JavaScript | MDN - Mozilla Developer Network

    Apr 11, 2015 · An assignment operator assigns a value to its left operand based on the value of its right operand. Overview The basic assignment operator is equal (=), which assigns the value of its right …

  7. JavaScript Assignment Operators: All Types with Examples

    Assignment operators are used to give values to variables. The simplest form is the = operator, which assigns the value on the right-hand side to the variable on the left-hand side. Apart from the = …

  8. Expressions and operators - JavaScript | MDN

    Jul 26, 2017 · This chapter describes JavaScript's expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more.

  9. Assignment Operator in JavaScript - EDUCBA

    Apr 6, 2023 · Guide to Assignment Operator in JavaScript. Here we also discuss the introduction and working of assignment operator with examples.

  10. JavaScript Operators - W3Schools

    JavaScript Assignment Operators Assignment operators assign values to JavaScript variables. The Addition Assignment Operator (+=) adds a value to a variable.