``` function a(){tmp = tmp || 1;return function(){console.log(tmp);tmp++;return tmp%2}()}; ```