What yield and yield* do in generators, how they differ, and when to use each, with examples.
Jan 15, 2021
Two web bugs traced to encoding: URL fragments in the URL API and window.btoa choking on non-ASCII.
Dec 16, 2020
This article provides a comparison between JIT (Just-In-Time) and AOT (Ahead-Of-Time) compilation, including their advantages, implementation details, and practical differences in various programming environments.
Dec 6, 2020
This article discusses the limitations of React's componentWillUnmount lifecycle method, including its advantages, implementation details, and relevant resources to help developers understand and work around these constraints.
Dec 5, 2020
Compares TypeScript enums and ES6 symbols so you know when to choose each for identifiers and constants.
Dec 2, 2020
This article explains the differences between JavaScript regular expression literals and constructors, including their advantages, implementation details, and related resources. These concepts help improve efficiency when working with regular expressions in JavaScript.
Nov 28, 2020
A Vue question on reactivity and lifecycle: what value renders on the page, and why.
Oct 31, 2020
A frontend quiz: modify the code to avoid an infinite loop, with analysis and solutions (Web Worker, async approaches).
Oct 29, 2020
本文是作者对JavaScript事件循环的介绍,包括JavaScript事件循环的优势、实现细节、相关资料等,这些步骤可以帮助作者提高JavaScript事件循环的效率。
Sep 26, 2020
Advanced usage tips for package.json beyond basic dependencies, including version enforcement, custom fields, and practical configuration techniques.
Jul 26, 2020