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. Define Function
  2. Functional Programing
  3. Arrow Function
  4. Function Parameters
  5. f Declaration vs Expression
  6. Closure
  7. Function Call, Apply, Bind
  8. Function Argument Default Value
  9. Function Rest Parameters
  10. Function Argument Destructure
  11. Function Object
  12. 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.

Web Dev Tutorials

  1. HTML
  2. Visual CSS
  3. JS Basics
  4. JS in Depth
  5. JS Reference
  6. DOM
  7. SVG
  8. JS Misc