This is a piece of code I am running.
var passed = 3;
var addTo = function(){
    return ++passed;
}
console.dir(addTo);
If I run it from JS fiddle: 
I get closure in [[Scopes]], in chrome console:
But If I run entire code in chrome console, I am not getting closure in chrome console.
 
    