这段程序会输出什么?

来自 字符串方法
Node 24 进阶 2分钟

这段程序会输出什么?

JavaScript
const icon = "😀";
console.log(icon.length, [...icon].length);
在试验场中打开
报告错误