Apply your JS skills to key Mozilla projects as an MDN Fellow! http://mzl.la/MDNFellowship

mozilla

Revision 1036 of Function.name

  • Revision slug: JavaScript/Reference/Global_Objects/Function/name
  • Revision title: name
  • Revision id: 1036
  • Created:
  • Creator: Seant23
  • Is current revision? No
  • Comment

Revision Content

Name of Object

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

Revision Source

<p>Name of Object
</p>
<pre class="eval">function a()
{
 
}
</pre>
<pre class="eval">var b = new a();
alert(b.name); //Alerts a
</pre>
Revert to this revision