About 264,000 results
Open links in new tab
  1. JavaScript Operators - W3Schools

    Javascript operators are used to perform different types of mathematical and logical computations. Examples: The Assignment Operator = assigns values. The Addition Operator + …

  2. Basic math in JavaScript — numbers and operators

    Apr 11, 2025 · Basic number operations in JavaScript — add, subtract, multiply, and divide. numbers are not numbers if they are defined as strings, and can cause calculations to go …

  3. JavaScript Operators (with Examples) - Programiz

    Write a function to perform basic arithmetic operations. The operations are: + for Addition, - for Subtraction, * for Multiplication and / for Division. Given num1 , num2 , and op specifying the …

  4. JavaScript Operators - GeeksforGeeks

    Dec 27, 2024 · There are various operators supported by JavaScript. 1. JavaScript Arithmetic Operators. Arithmetic Operators perform mathematical calculations like addition, subtraction, …

  5. Basic operators, maths - The Modern JavaScript Tutorial

    Nov 14, 2022 · The following math operations are supported: Addition +, Subtraction -, Multiplication *, Division /, Remainder %, Exponentiation **. The first four are straightforward, …

  6. JavaScript Arithmetic Operators

    JavaScript supports the following standard arithmetic operators: An arithmetic operator accepts numerical values as operands and returns a single numerical value. The numerical values can …

  7. JavaScript Operators

    From basic arithmetic to complex logical evaluations, operators enable you to add, subtract, compare, assign values, and more. Arithmetic operators in programming perform …

  8. Operators in JavaScript - Syskool

    Operators are fundamental tools used in JavaScript to perform operations on variables and values. These operations can involve mathematical calculations, comparisons, logical …

  9. Expressions and operators - JavaScript | MDN - MDN Web Docs

    Apr 3, 2025 · This chapter describes JavaScript's expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more.

  10. JavaScript Arithmetic - W3Schools

    Operators and Operands. The numbers (in an arithmetic operation) are called operands. The operation (to be performed between the two operands) is defined by an operator.

  11. Some results have been removed