Type in the words(s) to search for:

    Mark results
      Userbooster Help

      ^= (Binary Xor Equality)

      The binary xor equality operator:

      • Performs the binary xor operation if the first operand is of boolean, numeric, floating or date-time type. It throws an exception when the second operand is of not appropriate type.
      • Evaluates the symmetric difference if both operands are strings or the first operand is an array.
      • Throws an exception otherwise.


      var i = 1;
      i ^= 2;