We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9fb41 commit 2c1f76eCopy full SHA for 2c1f76e
docs/operators/bit.md
@@ -41,7 +41,7 @@ toInt32(Math.pow(2, 32) + 1) // 1
41
toInt32(Math.pow(2, 32) - 1) // -1
42
```
43
44
-上面代码中,`toInt32`可以将小数转为整数。对于一般的整数,返回值不会有任何变化。对于大于2的32次方的整数,大于32位的数位都会被舍去。
+上面代码中,`toInt32`可以将小数转为整数。对于一般的整数,返回值不会有任何变化。对于大于或等于2的32次方的整数,大于32位的数位都会被舍去。
45
46
## 二进制或运算符
47
docs/types/function.md
@@ -77,7 +77,7 @@ function add(x, y) {
77
78
```javascript
79
var foo = new Function(
80
- 'return "hello world"'
+ 'return "hello world";'
81
);
82
83
// 等同于
0 commit comments