Why does console.log(param) is not updated when outer_variable value changes in the outer scope?
setInterval(function(param) { console.log(param) }, 1000, outer_variable);