Closed DevilRoshan closed 4 years ago
出自小程序前端面试星球
// 以下代码输出 var arr = [0]; if(arr){ console.log(arr == true) } else { console.log(arr) }
https://github.com/DevilRoshan/Question/blob/master/20200910-js-code-transform.md