結果 : how to call variable outside function in javascript