e 1 year ago
parent
commit
1a08ca9bdb
1 changed files with 1 additions and 1 deletions
  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))