Tagged articles
Symbol
10 articles · Page 1 of 1
This article explains why using objects as JavaScript property keys leads to implicit string conversion collisions, demonstrates the underlying ToPrimitive and ToPropertyKey mechanisms with code examples, and recommends safer alternatives such as Map, Symbol, or explicit unique IDs.
JavaScriptObject.keysSymbol
0 likes · 7 min read

This article reviews the latest TC39 proposals that have advanced to Stage 4—including Change Array By Copy, Intl.NumberFormat V3, and Symbol as WeakMap Keys—explains their new immutable‑array methods, international‑number formatting APIs, weak‑map key support, and also highlights proposals moving between other stages such as Async Context and ArrayBuffer transfer.
ArrayBufferAsyncContextECMAScript
0 likes · 16 min read

The recent TC39 meeting promoted several proposals—including Hashbang Grammar, Duplicate Named Capturing Groups, Import Reflection, Symbol Predicates, Policy Maps and Sets, Function Memoization, and Object.pick/omit—through various stage thresholds, outlining the requirements for each advancement and providing example code for the new language features.
ECMAScriptJavaScript proposalsSymbol
0 likes · 15 min read

This article explains how Vue 3's provide/inject mechanism works, demonstrates proper usage with strings, refs, and Symbols, analyzes why injected data may be unavailable across applications, and offers practical solutions such as using Symbol.for and application‑level provides.
InjectSymbolVue.js
0 likes · 11 min read

This article reviews recent TC39 proposals—including findLast, Symbol-as-WeakMap keys, JSON.parse source text access, String.dedent, RegExp modifiers, atomic operators, and faster Promise adoption—explaining their stage progress, technical details, and practical code examples for modern JavaScript development.
ECMAScriptJavaScriptPromise
0 likes · 17 min read

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


ByteFEApr 27, 2021 · Frontend Development
A React component that works locally threw a minified "#31" error only on Vivo X7 Android 5.1 devices because a Symbol polyfill loaded after React caused a mismatch in REACT_ELEMENT_TYPE, and adjusting the build order or JSX runtime resolved the illegal return‑value bug.
AndroidBuild OrderJavaScript
0 likes · 7 min read

This article demonstrates several modern Node.js capabilities—including optional catch bindings without parameters, whitespace trimming methods, accessing Symbol description strings, flattening arrays with flat and flatMap, handling Unicode in JSON serialization, and converting entry lists to objects with Object.fromEntries—providing concise code examples for each feature.
ES2020Node.jsObject.fromEntries
0 likes · 5 min read

This article explains JavaScript's type coercion mechanisms, covering both implicit and explicit conversions for strings, numbers, booleans, objects, and symbols, and demonstrates how abstract operations like ToPrimitive, ToString, ToNumber, and ToBoolean affect runtime behavior.
ES5Explicit ConversionJavaScript
0 likes · 17 min read


Aotu LabJul 15, 2016 · Frontend Development
This guide explains why retina screens blur icons, compares SVG with other icon solutions, shows four practical SVG usage methods, and provides step‑by‑step instructions for exporting SVGs, automating symbol generation with gulp, and using a lightweight SVG‑symbol visual tool.
IconSpriteSymbol
0 likes · 12 min read
