List variables created in anonymous function
<p>If I have some Javascript code like the following...</p>

<pre><code>(function(){
    var a = 'valueA';
    var b = 'valueB';
    var c = 'valueC';

    //Create a loop that prints the name of all variables created above
    for(var x in ?????){
        console.log(x);
    }
})();
</code></pre>

<p>How do I print out a list of the variables that have been declared and assigned inside the anonymous function.</p>
