JSFiddle - React, Tailwind, and code Playground

by Cody Lindley

HTML

<script src="https://dl.dropboxusercontent.com/u/2026291/firebug-lite-debug.js"></script>

JavaScript

//Return first false value, then stop evaluating other expressions
var foo = true && 'foo' && '' && 4 && 'foo' && true;

console.log(foo); //logs '' an empty string, because its the first false value