An object literal will have the __proto__ property referencing to the window object in the prototype chain as soon as it is created.
Whatever would you make you think that? It’s completely wrong. There is not even a window object in all execution environments, and even in ones that do have one, prototypes for object literal is exactly the same as the prototype for Object.create()` or Object.create({}).
This post is a documentation of my understanding as to how delete operator works on objects created using Object.create() vs objects created using Object literal.
I’m confused as to why you would post an article with “your understanding”. There is only things which are correct, and things are incorrect.
Disclaimer — by no means do I claim the following to be the only source of truth.
The point you are talking about is not something about which opinions might vary. It’s either objectively correct or incorrect.
