JSFiddle - React, Tailwind, and code Playground
by Cody Lindley
HTML
<script src="https://dl.dropboxusercontent.com/u/2026291/firebug-lite-debug.js"></script>
JavaScript
var verify = true;
//if statement used to represent all statement's
if(verify){console.log('verify is true');}
//Consider that an expression can go anywhere, while the statement above can't
//stored in a variable
var check = verify ? console.log('verify is true') : console.log('verify is false');
//passed to a function
console.log(verify ? 'verify is true' : 'verify is false');