JSFiddle - React, Tailwind, and code Playground

by Nilesh Injulkar

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

console.log("*************Direct Assignment!*********");

var myAppDirect  = myAppDirect | {};
myAppDirect.id = 12;
myAppDirect.next = function(){
    return ++myAppDirect.id;
}
myAppDirect.reset = fuction(){
    myAppDirect = 0;
}
console.log(myAppDirect.id, myAppDirect.next(), myAppDirect.reset(), myAppDirect.next());