JS: Function.prototype.constructor

By Xah Lee. Date: .

Function.prototype.constructor

Value is Function

function f1 () { }
console.log ( f1.constructor === Function ); // true

const f2 = (x => x+1);
console.log ( f2.constructor === Function ); // true

[see JS: Function Object]

[see JS: Arrow Function]

[see JS: Property Key “constructor”]

Reference

ECMAScript 2015 §Fundamental Objects#sec-function.prototype.constructor

Function Topic

  1. JS: Define Function
  2. JS: Functional Programing
  3. JS: Arrow Function
  4. JS: Function Parameters
  5. JS: f Declaration vs Expression
  6. JS: Closure
  7. JS: Function Call, Apply, Bind
  8. JS: Function Argument Default Value
  9. JS: Function Rest Parameters
  10. JS: Function Argument Destructure
  11. JS: Function Object
  12. JS: Function.prototype
Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.