Tagged articles
6 articles
Page 1 of 1
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.

Proxymetaprogrammingreflect
0 likes · 12 min read
Why You Should Use Reflect Together with Proxy in JavaScript
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.

Object TraversalObject.keysSymbol
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.

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