結果 : access a variable inside a function javascript