結果 : how to access one function variable in another function in javascript