JSFiddle - React, Tailwind, and code Playground by eget teteete October 02, 2020 JavaScript let a = 5, b = 6; [a, b] = [b, a]; console.log(`${a} ${b}`);