SOURCE

function addCount(){
  var count = 0;
  console.log('=====>1:',this);
  return function(){
    count += 1;
    console.log('=====>2:',this);
  }
}
addCount()();
console 命令行工具 X clear

                    
>
console