javascript学习资料

javascript学习资料

第一部分:https://www.w3schools.com/js/js_variables.asp

疑问点:

  • https://www.w3schools.com/js/js_operators.asp
  • JavaScript Assignment Operators

    Assignment operators assign values to JavaScript variables.

    Operator Example Same As
    = x = y x = y
    += x += y x = x + y
    -= x -= y x = x - y
    *= x *= y x = x * y
    /= x /= y x = x / y
    %= x %= y x = x % y

    The addition assignment operator (+=) adds a value to a variable.

分类: