JSFiddle - React, Tailwind, and code Playground JavaScript var a,b='x'; a || ( a = 1 ); b || ( b = 2 ); console.log( a + ', ' + b );