JSFiddle - React, Tailwind, and code Playground

by userdude

JavaScript

function test(c, d, e) {
    c = d;
    
    e = function (){
        c + d;
    };
    
    console.log(c, d, e);
}
(function run(){
    var a = 4,
        b = 5;
    
    test(a, b);
    
    console.log(a, b, local);
    
    function local(){
        a + b;
    }
})();