[Solved] what does ^= mean in js [duplicate]


Bitwise XOR assignment (^=)

The bitwise XOR assignment operator (^=) uses the binary representation of both operands, does a bitwise XOR operation on them and assigns the result to the variable.

Source: MDN

1

solved what does ^= mean in js [duplicate]