单项选择题
[...’hello’]运行结果正确的是()
A.["h","e","l","l","o"] B.报错 C.undefined D.null
单项选择题 const [first, ...rest] = [1, 2, 3, 4, 5];针对这个表达式,正确的选项是()
单项选择题 数组的合并操作错误的是()(arr1,arr2,arr3是数组)
判断题 数组的复制:const a1=[1,2];consta2=[...a1];。