代码规范

错误示范:
a ? a : null
规范代码:
a || null

 不要过于习惯三元运算符!

 
posted @ 2023-06-16 09:18  nini-  阅读(17)  评论(0)    收藏  举报