Tagged articles
3 articles
Page 1 of 1
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
ByteFE
ByteFE
Apr 8, 2021 · Fundamentals

Understanding Prototype Property Lookup and the [[Get]] Internal Method in ECMAScript

This article walks through how the ECMAScript specification defines prototype chain property lookup, detailing the [[Get]] internal method, OrdinaryGet algorithm, the role of the Receiver parameter, and how these mechanisms are invoked during member expression evaluation and function calls.

ECMAScriptInternal MethodsJavaScript
0 likes · 14 min read
Understanding Prototype Property Lookup and the [[Get]] Internal Method in ECMAScript