普通会员
登录
题库
实习信息
校招公告
参访活动
题库
软件开发
题目列表
下列程序的运行结果是什么?function addToList(item,...
单选题
下列程序的运行结果是什么?
function addToList(item, list) {
return list.push(item)
}
const result = addToList("nowcoder", ["hello"])
console.log(result)
A.
[‘hello’, ‘nowcoder’]
B.
2
C.
true
D.
undefined
上一题
[单选题] 关于将 Promise.all 和 Promise.race 传入空数组的两段代码的输出结果说法正确的是: Promise.all([]).then...
下一题
[单选题] 下列程序的运行结果是什么?function getPersonInfo (one, two, three) {console.log(one)console.log(two)...
纠错
题目信息
校招真题
-
正确率
0
评论
12
点击
收藏
已收藏
错题本
已加入错题本
我的笔记
登录添加笔记