Is it possible to add something to the prototype of an literally defined object in Javascript?
<p>So if I was to create an object literal like this..</p>

<pre><code>var person1 = {

  age : 28,
  name : 'Pete'  }
</code></pre>

<p>Then I add a function to the object...</p>

<pre><code>  person1.sayHelloName = function(){

     return 'Hello ' + this.name;

  };

  alert(person1.sayHelloName());
</code></pre>

<p>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.  </p>
