parseInt () 函數(function) 用為解析參數(parameter) 成整數(integer) ,參數可為運算式(expression) 或字串(string) ,若沒有參數或非數字,就回傳NaN 。 舉例如下
確定! 回上一頁