Skip to content

Function: bit_xor() ​

ts
function bit_xor(
   this: void, 
   left: number, 
   right: number): number;

Apply bitwise XOR to two signed integers.

Parameters ​

ParameterTypeDescription
thisvoid-
leftnumberLeft operand.
rightnumberRight operand.

Returns ​

number

Result of left ^ right.