e 1 년 전
부모
커밋
1a08ca9bdb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      js/BOM/8.Math对象.html

+ 1 - 1
js/BOM/8.Math对象.html

@@ -15,7 +15,7 @@
         console.log(Math.ceil(a))
         // Math.floor 向下取整
         console.log(Math.floor(a))
-        // Math.abs 向上取整
+        // Math.abs 绝对值
         console.log(Math.abs(a))
         // Math.round 四舍五入
         console.log(Math.round(a))