title: Javascript Uncaught SyntaxError: Unexpected identifier
body: <p>Here is a code, and  I am unable to find the error, Please help me to fix it.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var person={
      first_name:"John",
      last_name:"doe",
      id:5577
      fullName function(){
          return this.first_name+" "+this.last_name;
      }
  }
  document.getElementById('demo').innerHTML=person.fullName();
  &lt;/script&gt;
  </code></pre>
  
  <p>Google show error in this line</p>
  
  <pre><code>fullName function(){
  </code></pre>