# new Object vs Object vs Object.create(null)

new Object() 和 Object 是一样的，都会创建一个对象实例

但是Object.create(null) 会创建一个空对象的实例

区别在于Object.create(null) 的实例是没有\_\_proto\_\_，而前两者都有


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mm.ricky.moe/javascript/js-trap/new-object-vs-object-vs-object.create-null.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
