空值合并运算符????运算符是es2020(es11)的一个新特性,他是一个逻辑操作符,当左侧的操作为null或者undefined的时候,他会去执行右侧的操作,否则返回左侧的操作。
12const test = null;con
2022-09-27