JSFiddle - React, Tailwind, and code Playground

by kkdaily

JavaScript

var test = null || {};
var x = test.value === 'cat' || 'dog';

alert(x);