垃圾輸入,垃圾輸出。 Garbage In Garbage Out (GIGO)
若輸入的數據有錯誤(或不完整),會產生錯誤的結果。
Incorrect/incomplete input data will produce incorrect results.
2.類型檢查
3.長度檢查
4.檢查數位
5.完整性/存在檢查
6.一致性檢查
7.唯一檢查
8.控制(批次)總和
https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Guide/Regular_Expressions