isPlainObject:function (o) {
/**
* toString.call(node) : ie678 == '[object Object]',other =='[object HTMLElement]'
* 'isPrototypeOf' in node : ie678 === false ,other === true
*/
return o && toString.call(o) === '[object Object]' && 'isPrototypeOf' in o;
},
?
IE浏览器采用toString()方法检验,其他浏览器查看属性中是否有isPrototypeOf来判断,o就是你要判断的“对象(目标)”。