JavaScript ??运算符共1篇
JavaScript之空值合并运算符 '??'-北忘山

JavaScript之空值合并运算符 '??'

A recent additionThis is a recent addition to the language. Old browsers may need polyfills. 空值合并运算符(nullish coalescing operator)的写法为两个问号 ??。 由于它对待 null 和 u...
北忘山的头像-北忘山北忘山2个月前
03.1W+11