相关考题
-
多项选择题
下列正确的代码分别是?()
A.Math.ceil(7.25)===7
B.Math.ceil(7.25)===8
C.Math.floor(7.25)===7
D.Math.floor(7.25)===8 -
多项选择题
JS中正确定义数组的代码是?()
A.vararr=newArray(1:"George",2:"John",3:"Thomas")
B.vararr=newArray("George","John","Thomas")
C.vararr=newArray:1=("George")2=("John")3=("Thomas")
D.vararr=["George","John","Thomas"] -
单项选择题
下列选项中,能够准确的、完美兼容早期IE浏览器的、完美兼容iframe问题的判断变量arr是否是数组的选项是?()
A.typeofarr
B.arrinstanceofArray
C.arr.__proto__.constructor===Array
D.Object.prototype.toString.call(arr)===’[objectArray]’
