isNativeObject: function(object) { return object instanceof Object && object.constructor === Object; }
var a = {constructor: alert}; console.log(a.constructor === Object); //false