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