時間與
Intl對像是ECMAScript國際化API的命名空間,它提供對語言敏感的字符串比較、支持數字格式化以及日期和時間的格式化。
new Intl.DateTimeFormat()優化時間顯示
Math 是一個擁有數學常數及數學函數(非函式物件)屬性及方法的內建物件。
Math
Math.round(數字) 四捨五入
Last updated 2 years ago