prototype  Function  class property JS Home  <<  JS Reference  <<  Function  <<  prototype

Description

Enables property assignment to objects of type Function.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax

Signature Description
Function.prototypeEnables property assignment to objects of type Function.

Parameters

None.

Examples

The code below displays the Function prototype.


alert('Function prototype is ' + Function.prototype);

Press the button below to action the above code:

Related Tutorials

JavaScript Intermediate Tutorials - Lesson 8 - Functions

JavaScript Basics

JavaScript Basics

JavaScript Intermediate

JavaScript Intermediate

JavaScript Advanced

JavaScript Advanced

JavaScript Reference

JavaScript Entities

Globals

Function

Class Properties
prototype
Instance Properties
constructor
length
Class Methods
None.
Instance Methods Getters
apply()
bind()
call()
toString()
Instance Methods Setters
None.

Statements

Operators