Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question-14 answer is INCORRECT #766

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

codewithmurali
Copy link

The provided answer and explanation for the question seem to contain some inaccuracies. Let me clarify:

The correct answer to the statement "All objects have prototypes" is actually:

Answer: A (True)

In JavaScript, all objects have prototypes. The base object, often referred to as the prototype chain, is Object.prototype. Every object, including objects created using the new keyword or object literals, ultimately inherits from Object.prototype unless explicitly specified otherwise.

@RahulSingh044
Copy link

yes .. I think @codewithmurali is correct as all JavaScript objects have a prototype. When you create a new object in JavaScript, it inherits its prototype from a constructor function or another object.

Copy link
Collaborator

@jakeherp jakeherp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please undo the formatting changes

@codewithmurali
Copy link
Author

Please undo the formatting changes

Hey @jakeherp

I've reviewed your request and have made the necessary adjustments to revert the formatting back to its original state. Please let me know if everything looks good on your end now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants