写出 null 和 undefined 分别转换为 Boolean、Number、String 的结果。
Sorry o(╥﹏╥)o,暂无参考答案。带这道题,问问AI吧~
问 AI
本题目录
相关面经
1 篇字节跳动
前端开发一面
console.log(Boolean(null)); console.log(Boolean(undefined)); console.log(Number(null)); console.log(Number(undefined)); console.log(String(null)); console.log(String(undefined));
