Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我怎么说没见过,原来是两个运算符的组合:-- 自减运算符和 > 大于运算符。
--
>
先判断 x 是否大于0,若成立则 x 自减。这样 x 就会像 0 趋近,直到不大于 0。这种写法其实就是 (x--) > 0……
x
(x--) > 0