//只有当左表达式为null或者undefined,返回右表达式值
let A = ''
let B = 1
let c = A ?? B
console.log(c);
Last Updated:
Contributors: pengrengui