Closed DevilRoshan closed 4 years ago
以下代码的执行结果
出自小程序前端面试星球
const obj = {}; var x = +obj.xxx?.name ?? 'xxx' console.log(x);
https://github.com/DevilRoshan/Question/blob/master/20200728-js-operators.md
以下代码的执行结果