結果 : function vs block scope javascript