Tag

hasOwnProperty

0 views collected around this technical thread.

ByteFE
ByteFE
Mar 28, 2021 · Frontend Development

Understanding ECMAScript Specification: Object.prototype.hasOwnProperty and Abstract Operations

This article explains how the ECMAScript specification defines the behavior of Object.prototype.hasOwnProperty, introduces abstract operations, completion records, internal slots and methods, and shows how the spec’s pseudo‑code can be translated into concrete JavaScript examples.

Abstract OperationsECMAScriptJavaScript
0 likes · 24 min read
Understanding ECMAScript Specification: Object.prototype.hasOwnProperty and Abstract Operations
ByteFE
ByteFE
Mar 25, 2021 · Fundamentals

Understanding ECMAScript Specification: Object.prototype.hasOwnProperty and Abstract Operations

This article walks through a concrete example of Object.prototype.hasOwnProperty in the ECMAScript specification, explaining language and specification types, abstract operations, internal slots and methods, Completion Records, and the shorthand ? and ! used for error handling in spec algorithms.

Abstract OperationsECMAScriptJavaScript
0 likes · 12 min read
Understanding ECMAScript Specification: Object.prototype.hasOwnProperty and Abstract Operations