Tag

property descriptor

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding JavaScript Prototype Chain Through the ECMAScript Specification

This article delves into the ECMAScript specification to precisely explain how JavaScript's prototype chain and property lookup work, covering essential internal methods like [[Get]], property descriptors, reference records, and the role of the Receiver parameter, with illustrative code examples and diagrams.

ECMAScript SpecificationInternal MethodsJavaScript
0 likes · 15 min read
Understanding JavaScript Prototype Chain Through the ECMAScript Specification
JavaScript
JavaScript
Feb 9, 2017 · Frontend Development

Why Can’t You Delete var‑Declared Globals in JavaScript?

JavaScript global variables can be created either explicitly with var or implicitly without it, but only the implicit globals are deletable; this article explains the underlying property descriptor differences, demonstrates delete behavior, and shows how to modify configurability using Object.defineProperty.

JavaScriptdelete operatorglobal variables
0 likes · 3 min read
Why Can’t You Delete var‑Declared Globals in JavaScript?