题库 软件开发 题目列表 下列程序的运行结果是什么?function getPersonInfo (...
单选题
下列程序的运行结果是什么?
function getPersonInfo (one, two, three) {
console.log(one)
console.log(two)
console.log(three)
}
const person = 'Lydia'
const age = 21
getPersonInfo `${person} is ${age} years old`
A.

“Lydia” 21 [“”,  “ is ”,  “ years old”]

B.

[“”, “ is ”, “ years old”] “Lydia” 21

C.

“Lydia” [“”, “ is ”, “ years old”] 21

D.

Reference Error

题目信息
校招真题
-
正确率
0
评论
12
点击