結果 : javascript how to use a variable from another function