結果 : how to use local variable outside function in javascript