1. parseInt() // js內建函數,注意接受引數是string,所以呼叫該方法時存在型別轉換 parseInt("1.5555") // => 1 2. Number.toFixed(0) ...
確定! 回上一頁