找考题网-背景图
单项选择题

A.instanceofB.hasOwnPropertyC.typeofD.indexOf以下哪个方法可以检测……

以下哪个方法可以检测当前属性是否存在?()

A.instanceof
B.hasOwnProperty
C.typeof
D.indexOf

热门试题