mozilla

Revision 1041 of Function.name

  • Revision slug: JavaScript/Reference/Global_Objects/Function/name
  • Revision title: name
  • Revision id: 1041
  • Created:
  • Creator: Nickolay
  • Is current revision? No
  • Comment Core JavaScript 1.5 Reference:Global Objects:Object:name moved to Core JavaScript 1.5 Reference:Global Objects:Function:name

Revision Content

Summary

Name of Object

 function a()
 {
  
 }

 var b = new a();
 alert(b.name); //Alerts a

Revision Source

<p>
</p>
<h3 name="Summary"> Summary </h3>
<p>Name of Object
</p>
<pre> function a()
 {
  
 }

 var b = new a();
 alert(b.name); //Alerts a
</pre>
Revert to this revision