Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4611280
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:14:48+00:00 2026-05-22T01:14:48+00:00

stated here https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function the constructor property of an instance of a function object specifies

  • 0

stated here https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function the constructor property of an instance of a function object “specifies the function that creates an object’s prototype”. This is confusing, so Object.constructor is “the function that creates an object’s prototype”? What object is “an object” exactly?

I’m trying to understand why is Object.constructor’s constructor property itself?

as such: Object.constructor===Object.constructor.constructor // why?

Edit: i find T.J. Crowder’s answer good but the phrasing of his words is pretty vague (making it hard to understand at first read, at least for me). Here’s the rephrased answer:

1) Object is an instance of Function

2) Object does not have a property called constructor so when we call Object.constructor, it actually gives us Object.[[prototype]].constructor (aka Object.__proto__.constructor).

3) Object.constructor (aka Object.__proto__.constructor) is an instance of Function.

4) Since both Object and Object.constructor (aka Object.__proto__.constructor) are instances of Function therefore they both have a __proto__ property which refer to the same object. In other words Object.__proto__ === Object.constructor.__proto__ (aka Object.__proto__.constructor._proto_)

5) The line Object.constructor===Object.constructor.constructor is actually equal to the line Object.__proto__.constructor===Object.constructor.__proto__.constructor

6) combining steps 4 and 5 give us Object.constructor===Object.constructor.constructor

7) goto step 4)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:14:49+00:00Added an answer on May 22, 2026 at 1:14 am

    Because Object is a Function, and the Function constructor is a Function, so its constructor is itself.

    An “object” is the fundamental building block of object-oriented programming. Object, in JavaScript, is a constructor function (like Date, or RegExp). Its job is to initialize new instances of objects created by the interpreter via the new keyword.

    This may be off-topic, or not, since you’re asking about constructors:

    Any function in JavaScript can be a constructor function; it’s purely a matter of how you use it. Consider:

    function Foo() {
    }
    

    If I call that like this:

    var f = Foo();
    

    …it’s just a boring old function, and f receives undefined (since Foo doesn’t return anything). But if I call it like this:

    var f = new Foo();
    

    …I’m using it as a constructor function and something more interesting happens:

    1. The interpreter creates a new, blank object.
    2. The interpreter sets the new object’s underlying prototype to be Foo.prototype.
    3. The interpreter calls Foo in a way that makes this refer to the new object.
    4. When Foo completes, if Foo doesn’t return a value (or doesn’t return an object), the result of the new expression is the object created in step 1. (If Foo returns an object, that object is used instead; that’s an advanced thing most people don’t have to do.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is a problem I've struggled with ever since I first started learning object-oriented
I've been a JavaScript developer for a while now, and I've always thought that
here are some quotes from the dev reference that after reading can't get my
here is my js file dashboard.js Ext.onReady(function(){ Ext.QuickTips.init(); // **want to know why this
This discussion started over here but I thought it would be nice to have
Here are a few possibilities to get the conversation started: Escape all input upon
Well here's my problem I have three tables; regions, countries, states. Countries can be
Someone on here recently recommended BWToolkit, and it really impressed me, so I started
I just started using TestDriven.NET to debug on my tests, here is my setup
We're having a bit of fun here at work. It all started with one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.