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 Human = function(){
    this.type = 'human';
    console.log('I was called');
};

new Human; //new invokes without () and logs "I was called"

console.log((new Human).type); //logs human