This seems to be defined in ECMAScript 5:
15.3.4 Properties of the Function Prototype Object
The Function prototype object is itself a Function object (its
[[Class]]
is “Function”) that, when invoked, accepts any arguments and returns undefined.
More Related Contents:
- Prototypical inheritance – writing up [duplicate]
- What are the nuances of scope prototypal / prototypical inheritance in AngularJS?
- Use of ‘prototype’ vs. ‘this’ in JavaScript?
- __proto__ VS. prototype in JavaScript
- What is the significance of the Javascript constructor property?
- Javascript object members that are prototyped as arrays become shared by all class instances
- Defining a Javascript prototype
- Defining methods via prototype vs using this in the constructor – really a performance difference?
- JS : Convert Array of Strings to Array of Objects
- ES6 arrow functions not working on the prototype?
- Extending an Object in Javascript
- Prototyping Object in Javascript breaks jQuery?
- What is the `constructor` property really used for? [duplicate]
- Properties of Javascript function objects
- Setting methods through prototype object or in constructor, difference? [duplicate]
- JavaScript: instanceof operator
- Grasping prototypical Inheritance through pseudoclassical instantiation (JavaScript)
- Update parent scope variable in AngularJS
- Can I construct a JavaScript object without using the new keyword?
- How to access object prototype in javascript?
- ‘this’ keyword, not clear
- Adding Prototype to JavaScript Object Literal
- Why does String.prototype log it’s object like a standard object, while Array.prototype logs it’s object like a standard array?
- Why is JSON.stringify not serializing prototype values?
- Javascript: hiding prototype methods in for loop?
- this Vs. prototype [duplicate]
- Can you create functions with custom prototypes in JavaScript?
- Advantages of setting the “constructor” Property in the “prototype”
- What does the new keyword do under the hood?
- prototypal inheritance concept in javascript as a prototype based language