結果 : how to take input in array in javascript