Tagged articles

reflect

7 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.

Metaprogrammingproxyreflect
0 likes · 12 min read
Why You Should Use Reflect Together with Proxy in JavaScript
Nullbody Notes
Nullbody Notes
Dec 18, 2023 · Backend Development

How to Build a Deep Copy Utility in Go Using reflect

This article walks through implementing a deep‑copy function in Go with the reflect package, explaining key concepts such as reflect.ValueOf, reflect.New, pointer handling, and recursive copying, and provides a complete code example and visual diagrams.

GoRuntimedeep copy
0 likes · 4 min read
How to Build a Deep Copy Utility in Go Using reflect
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.

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