JSFiddle - React, Tailwind, and code Playground

by darcyclarke

JavaScript

var effective = (function(a){ var b = true; [false, 0, '', null, undefined, NaN].forEach(function(c){ if(a === c) b = false;  }); return b; })();