結果 : how to scan input in javascript