JSFiddle - React, Tailwind, and code Playground by Joshua McNeese July 31, 2013 JavaScript var a=1; var b=2; b = [a, a = b][0]; console.log(a, b);