双问号表达式

2020-12-27  本文已影响0人  可乐不可乐_6e02

(null || undefined) ?? '无 '
只有在null或undefined时才会显示右边的

上一篇 下一篇

猜你喜欢

热点阅读