JSFiddle - React, Tailwind, and code Playground by kkdaily November 14, 2018 JavaScript var test = null || {}; var x = test.value === 'cat' || 'dog'; alert(x);