| | 则代表前面的表达式 是 null 或者undefined或者false 或者 0 才会执行后面的。

104 阅读1分钟

链判断运算符

blog.csdn.net/qq_17613195…

developer.mozilla.org/zh-CN/docs/…