So if I was to create an object literal like this..
var person1 = {
  age : 28,
  name : 'Pete'  }
Then I add a function to the object...
  person1.sayHelloName = function(){
     return 'Hello ' + this.name;
  };
  alert(person1.sayHelloName());
Im wondering where the 'prototype' keyword comes into all this. I cant add a prototype to an object (only to a function constructor) so would I be able/have to use the prototype in this scenario.
 
     
     
     
     
    