單項(xiàng)選擇題
A.無(wú)論數(shù)組中實(shí)際存儲(chǔ)幾個(gè)元素,數(shù)組長(zhǎng)度只和最后一個(gè)下標(biāo)有關(guān) B.數(shù)組長(zhǎng)度=最后一個(gè)下標(biāo) C.數(shù)組長(zhǎng)度=數(shù)組名.length-1 D.數(shù)組長(zhǎng)度=最后一個(gè)下標(biāo)-1
A.undefined表示變量聲明過(guò)但未被賦值,是所有未賦值變量的默認(rèn)值 B.undefined不保存在變量本地 C.undefined一般用于主動(dòng)釋放指向?qū)ο蟮囊?br /> D.undefined專門表示變量不再指向任何對(duì)象地址
A.對(duì)象=數(shù)據(jù)+方法 B.對(duì)象是原始類型 C.對(duì)象只負(fù)責(zé)封裝數(shù)據(jù),不提供對(duì)數(shù)據(jù)的操作方法 D.對(duì)象提供對(duì)數(shù)據(jù)的操作方法,但不能封裝數(shù)據(jù)
A.0 B.1 C.2 D.10
A..val B..value C..color D..name
A.onmouseover() B.onmouseout() C.ondblclick() D.onclick()
A.div.getAttribute("id") B.div.get C.div.Attribute("id") D.div.attr("id")
A..body B.document C.document.body D.document.html
A.div.style.color="red" B.div.style="red" C.div.color="red" D.div.style.color("red")
A.remove() B.del() C.append() D.move()