instanceof

var obj = {}; obj instanceof Object; instanceof 判斷的是構造器的prototype是否在對象的原型鏈上面prototype

相關文章
相關標籤/搜索