1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 03:02:21 +00:00

docs(number): fix #856

This commit is contained in:
ruanyf 2019-05-19 00:06:01 +08:00
parent 7518f7b12d
commit dd69d69cc4

View File

@ -424,7 +424,7 @@ Math.cbrt = Math.cbrt || function(x) {
### Math.clz32() ### Math.clz32()
`Math.clz32()`方法将参数转为 32 位无符号整数的形式,然后这个 32 位值里面有多少个前导 0。 `Math.clz32()`方法将参数转为 32 位无符号整数的形式,然后返回这个 32 位值里面有多少个前导 0。
```javascript ```javascript
Math.clz32(0) // 32 Math.clz32(0) // 32