JSFiddle - React, Tailwind, and code Playground

by Himanshu Joshi

JavaScript

var log;
function sayHello2() {
    var result = 0;
    var say = function() { 
    						result += arguments[0]; 
                if(arguments[1])
                	result+=arguments[1];
                }
     log = function(){   console.log(result); }           

}
 sayHello2(2,5);
 log();