prototype Function class propertyS2C Home
« Globals « Function « prototype
Description
Enables property assignment to objects of type Function.
- Like all class properties
prototypeshould be used on the class rather than an instance of the class.
Syntax
| Signature | Description |
|---|---|
Function.prototype | Enables property assignment to objects of type Function. |
Parameters
None.
Examples
The code below displays Function prototype.
alert('Function prototype is ' + Function.prototype);
Related Tutorials
JavaScript Intermediate Tutorials - Lesson 8 - Functions