web-interview icon indicating copy to clipboard operation
web-interview copied to clipboard

[选择题] 39.(单选题)下面代码的输出是什么

Open qiilee opened this issue 5 years ago • 0 comments

console.log("🐭" + "🐍");
A:🐭🐍
B:257548
C:A string containing their code points
D:Error

答案:A

解析:

使用+运算符,您可以连接字符串。上述情况,我们将字符串"🐭" 与 字 符 串 "🐍"连 接 起 来 , 产 生 🐭🐍

qiilee avatar Apr 15 '20 02:04 qiilee