单项选择题vara=["w","e","b","前","端","开","发"];varb=a.splice(3,4);document.write(a.join(""));document.write(b.join(""));输出结果是()。

A.web前.端开发
B.we.b前端开发
C.web前端开发
D.前端开发web


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题以下哪个语句打印出来的结果是false()。

A.alert(1=true)
B.alert(isNaN(1))
C.alert(5="5")
D.alert(null=undefined)

2.单项选择题jQuery中绑定事件的方法是()。

A.bind()
B.unbind()
C.click()
D.change()

3.单项选择题jQuery遍历节点的方法中,获取上一个兄弟节点的方法是()。

A.next()
B.prev()
C.parent()
D.children()

4.单项选择题jQuery遍历节点的方法中,获取下一个兄弟节点的方法是()。

A.next()
B.prev()
C.parent()
D.children()

5.单项选择题jQuery样式操作的方法中,移除指定样式的方法是()。

A.addClass(“”)
B.removeClass(“”)
C.toggleClass(“”)
D.hasClass(“”)

6.单项选择题jQuery样式操作的方法中,追加样式的方法是()。

A.addClass(“”)
B.removeClass(“”)
C.toggleClass(“”)
D.hasClass(“”)

7.单项选择题jQuery查询方法中,读取或修改节点的文本内容的方法是()。

A.html()
B.text()
C.attr()
D.removeAttr()

8.单项选择题jQuery查询方法中,读取或修改节点的html标签的方法是()。

A.html()
B.text()
C.attr()
D.removeAttr()

9.单项选择题在jQuery中,如果想要从DOM中删除所有匹配的元素,下面哪一个是正确的()。

A.remove()
B.empty()
C.delete()
D.removeAll()

10.单项选择题下面哪一个是内部插入中从后面插入的方法()。

A.append()
B.prepend()
C.after()
D.before()