hasOwnProperty vs propertyIsEnumerable

Czy ktoś może mnie oświecić, jaka jest różnica między hasOwnProperty i propertyIsEnumerable:

function f(){
  this.a = 1;
  this.b = 2;
  this.c = function(){}
}
f.prototype = {
  d : 3,
  e : 4,
  g : function(){}
}

tworzenie instancji obiektu:

var o = new f();

I tutaj nie widzę różnicy. Moim zdaniem robią to samo

o.hasOwnProperty('a'); //true
o.hasOwnProperty('b'); //true
o.hasOwnProperty('c'); //true
o.hasOwnProperty('d'); //false
o.hasOwnProperty('e'); //false
o.hasOwnProperty('g'); //false

o.propertyIsEnumerable('a'); //true
o.propertyIsEnumerable('b'); //true
o.propertyIsEnumerable('c'); //true
o.propertyIsEnumerable('d'); //false
o.propertyIsEnumerable('e'); //false
o.propertyIsEnumerable('g'); //false

Racja, jeśli się mylę

questionAnswers(4)

yourAnswerToTheQuestion