結果 : how to take input at runtime in javascript