mozilla

Revision 1037 of Function.name

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

Revision Content

Name of Object

{{mediawiki.external('code')}}

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

{{mediawiki.external('/code')}}

Revision Source

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