I understand that for boolean values Exclusive OR says the output will be on if the inputs are different. link
But how does it work on non boolean values like below. In C# or Javascript, how is its value "10" for below code. Can anyone explain this for me please?
Console.WriteLine(9^3);