Here is the mistake: number.push(document.getElementById("input").value);. push is a method, not an attribute ;-).
確定! 回上一頁