We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeb6d15 commit 2e3f11bCopy full SHA for 2e3f11b
1 file changed
docs/operators/comparison.md
@@ -114,7 +114,7 @@ x > '11' // false
114
// 等同于 [2].valueOf().toString() > [11].valueOf().toString()
115
// 即 '2' > '11'
116
117
-{ x: 2 } >= { x: 1 } // true
+({ x: 2 }) >= ({ x: 1 }) // true
118
// 等同于 ({ x: 2 }).valueOf().toString() >= ({ x: 1 }).valueOf().toString()
119
// 即 '[object Object]' >= '[object Object]'
120
```
0 commit comments