JSFiddle - React, Tailwind, and code Playground
JavaScript
let x = "a".charCodeAt(0);
let y = "b".charCodeAt(0);
console.log(x, y);
/* x ^= y; */
/* y ^= x; */
/* x ^= y; */
x = x + y;
y = x - y;
x = x - y;
console.log(String.fromCharCode(x), String.fromCharCode(y));