mozilla

Revision 1038 of Function.name

  • Revision slug: JavaScript/Reference/Global_Objects/Function/name
  • Revision title: name
  • Revision id: 1038
  • 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><p><code>
</code></p>
<pre class="eval">function a()
{
 
}
</pre>
<pre class="eval">var b = new a();
alert(b.name); //Alerts a
</pre>
<p>
</p>
Revert to this revision