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 true value, then stop evaluating other expressions
var foo = false || 0 || '' || 4 || 'foo' || true;

console.log(foo); //logs 4, because its the first true value in the experssion