Tag

Reflect

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 4, 2024 · Frontend Development

Why You Should Use Reflect Together with Proxy in JavaScript

This article explains the relationship between JavaScript's Proxy and Reflect objects, demonstrates their basic syntax and practical code examples, compares their performance, and outlines various real‑world scenarios where combining them leads to cleaner, more maintainable frontend code.

JavaScriptMetaprogrammingProxy
0 likes · 12 min read
Why You Should Use Reflect Together with Proxy in JavaScript
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 30, 2022 · Frontend Development

Mastering JavaScript Proxy and Reflect: Deep Dive into Vue 3 Reactivity

This article explains how Vue 3 replaces Vue 2’s Object.defineProperty reactivity with JavaScript’s Proxy, covering Proxy fundamentals, handler traps, the relationship with Reflect, internal methods and slots, and the distinction between ordinary and exotic objects, providing code examples and visual diagrams.

ECMAScriptJavaScriptProxy
0 likes · 15 min read
Mastering JavaScript Proxy and Reflect: Deep Dive into Vue 3 Reactivity
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 21, 2021 · Frontend Development

7 JavaScript Object Traversal Techniques Illustrated with Allen Iverson

This article examines seven ways to iterate over JavaScript objects—excluding arrays, Map, and Set—using a sample player object modeled after Allen Iverson, detailing each method’s handling of own, inherited, enumerable, non‑enumerable, and Symbol properties, with code examples and output analysis.

JavaScriptObject TraversalObject.keys
0 likes · 9 min read
7 JavaScript Object Traversal Techniques Illustrated with Allen Iverson
Taobao Frontend Technology
Taobao Frontend Technology
Nov 3, 2016 · Frontend Development

Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns

This article delves into ES6’s advanced features—including dynamic module loading, Symbol usage, iterators, Maps, Sets, Weak collections, Promises, async‑await, generators, and meta‑programming tools like Proxy and Reflect—providing concise explanations, code snippets, and practical guidance for modern JavaScript development.

Async/AwaitES6Generators
0 likes · 20 min read
Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns