Tagged articles
2421 articles
Page 16 of 25
KooFE Frontend Team
KooFE Frontend Team
May 25, 2021 · Frontend Development

Why Ignoring Exceptions Is Killing Your JavaScript Code (And How to Fix It)

This article explains why proper exception handling is essential for high‑quality JavaScript, contrasts using return codes with real exceptions, shows clean versus dirty code examples, and offers practical guidelines such as defining custom exception hierarchies, handling Promise rejections, and providing contextual error information.

Exception HandlingJavaScriptcode quality
0 likes · 10 min read
Why Ignoring Exceptions Is Killing Your JavaScript Code (And How to Fix It)
21CTO
21CTO
May 25, 2021 · Frontend Development

Unlock JavaScript 2021: 5 Game-Changing Features You Must Master

This article explores five powerful JavaScript 2021 enhancements—including logical assignment operators, replaceAll, numeric separators, Promise.any, and WeakRef/Finalizers—explaining their syntax, behavior, and practical code examples to help developers write cleaner, more efficient code.

2021 featuresFinalizationRegistryJavaScript
0 likes · 8 min read
Unlock JavaScript 2021: 5 Game-Changing Features You Must Master
Taobao Frontend Technology
Taobao Frontend Technology
May 25, 2021 · Frontend Development

Build and Publish a VSCode Code Snippets Extension—Avoid Common Pitfalls

This guide walks you through creating a VSCode code‑snippets extension from environment setup, Azure DevOps publisher registration, project scaffolding with Yeoman, configuring package.json and snippet JSON, debugging inside the extension host, packaging with vsce, and finally publishing the extension to the marketplace, while highlighting common pitfalls to avoid.

ExtensionJavaScriptTutorial
0 likes · 8 min read
Build and Publish a VSCode Code Snippets Extension—Avoid Common Pitfalls
ByteDance Web Infra
ByteDance Web Infra
May 21, 2021 · Frontend Development

Understanding the Popularity of TypeScript: History, Features, and Future Outlook

TypeScript’s rapid rise stems from its incremental type system, strategic collaborations, and tooling ecosystem—including DefinitelyTyped, JSX support, and integration with Babel and modern build tools—while its future may involve native type annotations in JavaScript and continued community‑driven evolution.

JavaScriptTypeScriptfrontend
0 likes · 17 min read
Understanding the Popularity of TypeScript: History, Features, and Future Outlook
ByteFE
ByteFE
May 20, 2021 · Fundamentals

Understanding ECMAScript: Cover Grammars and Finite Lookahead

This article explains ECMAScript's cover grammars and finite lookahead mechanisms for resolving ambiguous syntax, focusing on arrow function parameter lists versus parenthesized expressions.

Arrow FunctionsECMAScriptJavaScript
0 likes · 8 min read
Understanding ECMAScript: Cover Grammars and Finite Lookahead
JavaScript
JavaScript
May 20, 2021 · Frontend Development

Understanding JavaScript’s Math.max: Edge Cases and Array Tricks

This article explains how JavaScript’s Math.max function works, covering typical usage, single‑argument behavior, the surprising -Infinity result when called without arguments, and practical techniques for finding maximum values in arrays, including handling empty arrays.

ArrayInfinityJavaScript
0 likes · 3 min read
Understanding JavaScript’s Math.max: Edge Cases and Array Tricks
Youzan Coder
Youzan Coder
May 12, 2021 · Frontend Development

Understanding React Fiber Architecture, Work Units, and Scheduling

React Fiber rewrites React’s core algorithm by breaking the diff phase into small, interruptible fiber units, scheduling them during browser idle time with requestIdleCallback, using double‑buffered trees and effect lists to pause, resume, and efficiently commit DOM updates, thereby improving UI responsiveness in large applications.

FiberFront-endJavaScript
0 likes · 28 min read
Understanding React Fiber Architecture, Work Units, and Scheduling
JavaScript
JavaScript
May 11, 2021 · Frontend Development

What’s New in Bootstrap 5? Key Features and Improvements Explained

Bootstrap 5 has officially launched with its first stable 5.0.0 release, introducing a redesigned logo, dropping support for older browsers, removing jQuery, updating to Popper V2, enhancing dropdowns, modals, tooltips, adding new components like offcanvas, accordion, tables, RTL support, a revamped utility API, and numerous performance and grid layout improvements.

BootstrapCSSJavaScript
0 likes · 3 min read
What’s New in Bootstrap 5? Key Features and Improvements Explained
ByteFE
ByteFE
May 8, 2021 · Fundamentals

Webpack Core Principles: Architecture and Workflow Analysis

This article provides a comprehensive analysis of Webpack's core architecture, explaining its three-phase workflow (initialization, building, and generation), plugin system, and module handling mechanisms to help developers understand the underlying principles of this static module bundler.

JavaScriptbuild toolscompilation process
0 likes · 23 min read
Webpack Core Principles: Architecture and Workflow Analysis
ITPUB
ITPUB
May 8, 2021 · Frontend Development

From Static Pages to Server‑Side Rendering: A 30‑Year Journey of Web Technology

This article traces the evolution of web technologies from Tim Berners‑Lee's first static page in 1991 through the rise of HTML, CSS, JavaScript, dynamic server‑side solutions like PHP and AJAX, the emergence of SPAs, and modern innovations such as SSR, React Server Components, and Web Components, highlighting key milestones, challenges, and future directions.

CSSHTMLJavaScript
0 likes · 17 min read
From Static Pages to Server‑Side Rendering: A 30‑Year Journey of Web Technology
ByteDance Web Infra
ByteDance Web Infra
May 7, 2021 · Frontend Development

Understanding the ESModule Specification: Server and Browser Implementations, Third‑Party Dependency Challenges, and Next‑Generation Web App Development

This article explains the ESModule standard, compares its server‑side (Node.js) and browser implementations, discusses compatibility issues with CommonJS, examines the difficulties of using third‑party dependencies in browsers, and outlines emerging tools such as Snowpack and Vite that leverage native ESModules.

ESModuleJavaScriptNode.js
0 likes · 15 min read
Understanding the ESModule Specification: Server and Browser Implementations, Third‑Party Dependency Challenges, and Next‑Generation Web App Development
Youzan Coder
Youzan Coder
May 7, 2021 · Frontend Development

Understanding ArrayBuffer, TypedArray, DataView, and Blob in JavaScript

The article explains how JavaScript handles binary data by using ArrayBuffer as raw memory, TypedArray and DataView as typed views for reading and writing with endianness control, and Blob for file‑like binary objects, detailing their constructors, methods, and typical use cases such as WebGL, file upload, and image display.

ArrayBufferBlobDataview
0 likes · 17 min read
Understanding ArrayBuffer, TypedArray, DataView, and Blob in JavaScript
KooFE Frontend Team
KooFE Frontend Team
May 6, 2021 · Fundamentals

When Are Code Comments Helpful? Best Practices for Clean JavaScript

This article examines the ongoing debate over code comments, explains when comments add value or cause noise, and outlines three practical guidelines—commenting only complex business logic, avoiding log‑type and positional markers—to improve JavaScript code readability.

JavaScriptSoftware Developmentbest practices
0 likes · 7 min read
When Are Code Comments Helpful? Best Practices for Clean JavaScript
Sohu Tech Products
Sohu Tech Products
May 5, 2021 · Frontend Development

Parallel Large File Download in JavaScript Using asyncPool

This article explains how to implement parallel downloading of large files in the browser by leveraging HTTP Range requests, the asyncPool concurrency‑control library, and auxiliary functions such as getContentLength, getBinaryContent, concatenate, and saveAs, complete with code examples and usage guidance.

BlobHTTP RangeJavaScript
0 likes · 11 min read
Parallel Large File Download in JavaScript Using asyncPool
ITPUB
ITPUB
May 5, 2021 · Frontend Development

From Static Pages to SSR: A 30‑Year Web Technology Journey

Spanning three decades, this article traces the evolution of web development from Tim Berners‑Lee’s 1991 static page through the rise of HTML, CSS, JavaScript, PHP, AJAX, SPA frameworks, server‑side rendering, Node.js, and emerging trends like React Server Components, illustrating how each breakthrough addressed the limitations of its predecessors.

BackendJavaScriptSPA
0 likes · 18 min read
From Static Pages to SSR: A 30‑Year Web Technology Journey
ByteFE
ByteFE
Apr 29, 2021 · Frontend Development

Avoid Using Functions as Callbacks Unless They Are Designed for It – Common Pitfalls in JavaScript and TypeScript

The article explains how using functions that were not intended as callbacks—such as library utilities, Web APIs, or option objects—can break when array.map or other higher‑order functions pass extra arguments, and it shows safer patterns, TypeScript behavior, and linting hints to prevent these bugs.

CallbacksJavaScriptTypeScript
0 likes · 12 min read
Avoid Using Functions as Callbacks Unless They Are Designed for It – Common Pitfalls in JavaScript and TypeScript
21CTO
21CTO
Apr 28, 2021 · Frontend Development

Why Laravel + Vue.js Is the Power Combo for Modern Web Apps

This article explains how the Laravel PHP framework and the Vue.js progressive JavaScript library complement each other, highlighting their popularity, ease of integration, event‑driven architecture, virtual DOM performance, and faster learning curve, making them an ideal stack for new web projects.

BackendJavaScriptLaravel
0 likes · 5 min read
Why Laravel + Vue.js Is the Power Combo for Modern Web Apps
JavaScript
JavaScript
Apr 28, 2021 · Backend Development

How to Enable and Use ES Modules in Node.js (with .mjs and package.json)

This guide explains what ECMAScript (ES) modules are, how to enable them in Node.js using .mjs extensions or a package.json "type":"module" setting, and provides practical code examples for importing, exporting, and running ES modules from the command line.

CLIJavaScriptNode.js
0 likes · 5 min read
How to Enable and Use ES Modules in Node.js (with .mjs and package.json)
Liangxu Linux
Liangxu Linux
Apr 27, 2021 · Frontend Development

Build Your First VS Code Extension: A Step‑by‑Step Tutorial

This tutorial walks developers through the complete process of creating a simple Visual Studio Code extension—from installing Node.js, Git, and Yeoman, to generating project scaffolding, configuring package.json, writing activation code, adding commands and menu items, and testing the extension—while highlighting VS Code's multi‑process architecture and extension limitations.

Extension DevelopmentJavaScriptNode.js
0 likes · 15 min read
Build Your First VS Code Extension: A Step‑by‑Step Tutorial
ITPUB
ITPUB
Apr 27, 2021 · Game Development

23 Must‑Try Open‑Source Game Projects on GitHub to Boost Your Coding Skills

This article curates 23 open‑source game projects hosted on GitHub—ranging from Vim plugins and JavaScript Tetris clones to Python, Go, and web‑based multiplayer titles—providing installation steps, feature highlights, code snippets, and live demo links so developers can learn, experiment, and have fun during breaks.

GitHubJavaScriptPython
0 likes · 14 min read
23 Must‑Try Open‑Source Game Projects on GitHub to Boost Your Coding Skills
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 27, 2021 · Fundamentals

Class Fields Reach Stage 4 – How This Changes JavaScript Development

The article reviews the recent TC39 meeting where the Class Fields proposal advanced to Stage 4, outlines the criteria for moving between proposal stages, and summarizes several other ECMAScript proposals—including Intl.LocaleInfo, Object.hasOwn, Symbol as WeakMap keys, extended timezone options, copy‑based array methods, and readonly ArrayBuffer—detailing their goals, status, and example code.

Class FieldsECMAScriptJavaScript
0 likes · 15 min read
Class Fields Reach Stage 4 – How This Changes JavaScript Development
Taobao Frontend Technology
Taobao Frontend Technology
Apr 26, 2021 · Game Development

How Eva.js Empowers Front‑End Engineers to Build Interactive Games with Minimal Code

Eva.js, an open‑source interactive game engine developed by Alibaba, combines a lightweight ECS architecture, PixiJS rendering, and performance‑focused loading strategies to let front‑end developers create engaging web games with just a few lines of code, while supporting accessibility and state management.

ECSGame EngineJavaScript
0 likes · 9 min read
How Eva.js Empowers Front‑End Engineers to Build Interactive Games with Minimal Code
MaGe Linux Operations
MaGe Linux Operations
Apr 25, 2021 · Backend Development

How to Use AJAX with Django: GET & POST Requests Made Easy

This tutorial explains how to integrate AJAX fetch calls with Django views for both GET and POST requests, covering header configuration, CSRF handling, JSON data exchange, and the updated method for detecting AJAX requests in Django 3.1 and later.

CSRFDjangoJSON
0 likes · 11 min read
How to Use AJAX with Django: GET & POST Requests Made Easy
php Courses
php Courses
Apr 25, 2021 · Backend Development

Dynamic Category Loading with Layui and ThinkPHP 5.1

This tutorial demonstrates how to integrate Layui with ThinkPHP 5.1 to dynamically load hierarchical city category data, covering HTML setup, JavaScript tree rendering, PHP backend data retrieval, and a recursive method for obtaining parent IDs, enabling interactive navigation of multi‑level locations.

Dynamic LoadingJavaScriptLayui
0 likes · 5 min read
Dynamic Category Loading with Layui and ThinkPHP 5.1
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 25, 2021 · Frontend Development

Mastering TypeScript: Data Types, Advanced Features, and V8 Performance Hacks

This article explores JavaScript and TypeScript data types, explains how TypeScript enhances code robustness with interfaces and generics, examines common JavaScript pitfalls, and demonstrates how V8’s TurboFan compiler and type‑consistent code can dramatically improve performance, complemented by practical TypeScript tips and advanced type utilities.

JavaScriptTypeScriptV8
0 likes · 15 min read
Mastering TypeScript: Data Types, Advanced Features, and V8 Performance Hacks
JavaScript
JavaScript
Apr 25, 2021 · Frontend Development

Why Does parseInt(0.0000005) Return 5? Uncovering JavaScript’s Quirks

This article explains JavaScript’s parseInt function, demonstrates how it parses integer strings and binary numbers, reveals its unexpected behavior with small floating‑point values due to automatic string conversion and exponential notation, and recommends using Math.floor for reliable integer extraction.

JavaScriptMath.floorparseInt
0 likes · 5 min read
Why Does parseInt(0.0000005) Return 5? Uncovering JavaScript’s Quirks
ELab Team
ELab Team
Apr 22, 2021 · Frontend Development

Unlocking JavaScript Power: How AST Drives Modern Front‑End Tools

This article explains what an Abstract Syntax Tree (AST) is, how it’s generated during lexical and syntax analysis, outlines its core structure, and demonstrates practical applications such as code transformation, linting, formatting, and custom Babel plugins with detailed code examples.

ASTJavaScriptbabel
0 likes · 16 min read
Unlocking JavaScript Power: How AST Drives Modern Front‑End Tools
ELab Team
ELab Team
Apr 21, 2021 · Frontend Development

Master JavaScript Scope, Context, and Closures: From Basics to React

This article explains JavaScript’s scope types, execution context, activation objects, and the lifecycle of functions, illustrating how closures retain memory, how garbage collection works, and provides practical solutions for common closure pitfalls in React functional components.

JavaScriptReactclosure
0 likes · 12 min read
Master JavaScript Scope, Context, and Closures: From Basics to React
ByteDance ADFE Team
ByteDance ADFE Team
Apr 19, 2021 · Frontend Development

Understanding React's Event System: Registration and Dispatch

This article explains how React registers event listeners on the root, extracts events from the fiber tree, synthesizes cross‑browser synthetic events, accumulates callbacks, and finally dispatches them, illustrating each step with code examples and diagrams.

Event SystemJavaScriptReact
0 likes · 9 min read
Understanding React's Event System: Registration and Dispatch
ByteFE
ByteFE
Apr 14, 2021 · Frontend Development

Understanding JavaScript Memory Leaks and Garbage Collection

This article explains JavaScript memory leaks, covering their definition, how JS manages stack and heap memory, automatic garbage collection, Chrome DevTools profiling techniques, and common leak patterns such as improper closures, global variables, detached DOM nodes, console logging, and forgotten timers, with detection and mitigation strategies.

Chrome DevToolsGarbage CollectionJavaScript
0 likes · 17 min read
Understanding JavaScript Memory Leaks and Garbage Collection
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 12, 2021 · Frontend Development

Demystifying React Router: From Native JS Routing to Source Code Deep Dive

This article walks through building a basic front‑end router with vanilla JavaScript, then dissects React Router’s source code—including BrowserRouter, HashRouter, Router, Route, and matchPath—explaining their implementations, the history library, and how they improve routing compared to native approaches.

Hash RoutingHistory APIJavaScript
0 likes · 27 min read
Demystifying React Router: From Native JS Routing to Source Code Deep Dive
ByteFE
ByteFE
Apr 10, 2021 · Frontend Development

Interview with dexteryy: The Evolution and Future of Modern Web Development

In this extensive interview, dexteryy, a senior Web front‑end engineer at ByteDance, shares his personal journey, reflects on the historical stages of Web development, discusses current challenges of mobile and immersive experiences, and outlines the vision for next‑generation application development tools and ecosystems.

JavaScriptWeb DevelopmentWeb infrastructure
0 likes · 17 min read
Interview with dexteryy: The Evolution and Future of Modern Web Development
ByteFE
ByteFE
Apr 9, 2021 · Frontend Development

Must‑Read JavaScript & Performance Insights: From V8 Optimization to Mobile Startup

This curated guide presents concise technical deep‑dives into JavaScript protection, pagination techniques, Babel async/await transformation, Web Worker sandboxing, V8 engine tuning, React Native launch optimization, collaborative editing algorithms, Windows defragmentation, CLS metric evolution, accessible UI components, and future‑proof CSS strategies.

JavaScriptMobile DevelopmentReact Native
0 likes · 4 min read
Must‑Read JavaScript & Performance Insights: From V8 Optimization to Mobile Startup
ByteFE
ByteFE
Apr 8, 2021 · Fundamentals

Understanding Prototype Property Lookup and the [[Get]] Internal Method in ECMAScript

This article walks through how the ECMAScript specification defines prototype chain property lookup, detailing the [[Get]] internal method, OrdinaryGet algorithm, the role of the Receiver parameter, and how these mechanisms are invoked during member expression evaluation and function calls.

ECMAScriptInternal MethodsJavaScript
0 likes · 14 min read
Understanding Prototype Property Lookup and the [[Get]] Internal Method in ECMAScript
ELab Team
ELab Team
Apr 7, 2021 · Backend Development

How to Build a Minimal Node.js Server and Master Koa’s Middleware Architecture

This article walks through creating a simple native Node.js HTTP server, applying the Strategy pattern to decouple routes, enforcing the DRY principle with Promises, and then dives deep into Koa’s core source—including its constructor, use, listen, compose, and router modules—to reveal how the framework orchestrates middleware and request handling.

HTTP serverJavaScriptKoa
0 likes · 21 min read
How to Build a Minimal Node.js Server and Master Koa’s Middleware Architecture
ByteFE
ByteFE
Apr 7, 2021 · Frontend Development

Promise‑Based JavaScript Animation Library: Design and Implementation

This article introduces a Promise‑based JavaScript animation library, explains how to create sequential animations using async/await, provides polyfills for requestAnimationFrame and es6‑promise, details the Animator class implementation, and demonstrates usage with code examples and easing extensions.

AnimatorJavaScriptPolyfill
0 likes · 11 min read
Promise‑Based JavaScript Animation Library: Design and Implementation
JavaScript
JavaScript
Apr 5, 2021 · Mobile Development

What’s New in NativeScript 8.0? Explore M1, Webpack5, and Accessibility Boosts

NativeScript 8.0 expands the mature cross‑platform framework with Apple Silicon (M1) support, Webpack 5 integration, enhanced accessibility, new ESLint rules, a RootLayout container, updated documentation, and streamlined core features for building iOS and Android apps using JavaScript or TypeScript.

AndroidJavaScriptMobile Development
0 likes · 2 min read
What’s New in NativeScript 8.0? Explore M1, Webpack5, and Accessibility Boosts
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Frontend Development

Front‑End Performance Optimization: Loading‑Time and Runtime Techniques

This article explains why front‑end performance optimization is crucial for user retention and conversion, outlines loading‑time and runtime optimization categories, and provides practical techniques such as DNS prefetching, HTTP/2 adoption, resource compression, lazy loading, virtual lists, event delegation, and code‑level best practices with concrete code examples.

JavaScriptRuntimeWeb
0 likes · 24 min read
Front‑End Performance Optimization: Loading‑Time and Runtime Techniques
Taobao Frontend Technology
Taobao Frontend Technology
Mar 31, 2021 · Frontend Development

How to Build a Web H.265 Decoder with WebAssembly and FFmpeg

This article walks through the complete process of creating a browser‑based H.265 video decoder by compiling a trimmed FFmpeg library to WebAssembly, designing a modular player architecture, and integrating the WASM module with JavaScript workers for real‑time playback of high‑resolution streams.

H.265JavaScriptVideo Decoding
0 likes · 22 min read
How to Build a Web H.265 Decoder with WebAssembly and FFmpeg
ByteFE
ByteFE
Mar 30, 2021 · Frontend Development

Understanding Babel: Core Functions, AST, Polyfills, and Presets

This article explains Babel's role as a fundamental JavaScript compiler, detailing its parsing‑transform‑printing pipeline, AST structure, core‑js polyfills, preset‑env configuration, and runtime helpers, providing frontend developers with a comprehensive guide to mastering Babel's ecosystem and optimizing bundle size.

ASTJavaScriptPolyfill
0 likes · 13 min read
Understanding Babel: Core Functions, AST, Polyfills, and Presets
WecTeam
WecTeam
Mar 27, 2021 · Frontend Development

JavaScript Memory Management & Flutter Web at Meituan: Key Insights

This newsletter highlights two technical articles: one explains JavaScript's memory allocation, stack and heap usage, and garbage‑collection methods with examples of common leaks, while the other details Meituan Waimai's Flutter Web performance challenges and their mitigation strategies.

JavaScriptMemory Managementflutter-web
0 likes · 2 min read
JavaScript Memory Management & Flutter Web at Meituan: Key Insights
Beike Product & Technology
Beike Product & Technology
Mar 24, 2021 · Frontend Development

Understanding Tapable: Hooks and Flow Control in Webpack

Tapable is a flow‑control library used by webpack that implements synchronous and asynchronous hook mechanisms, enabling plugins to subscribe and publish events through a standardized interface, as demonstrated by source code analysis and generated function examples.

Flow ControlJavaScriptTapable
0 likes · 11 min read
Understanding Tapable: Hooks and Flow Control in Webpack
php Courses
php Courses
Mar 23, 2021 · Backend Development

Implementing Ajax Image Upload with Deletion in ThinkPHP5

This guide demonstrates how to replace a standard file upload in a ThinkPHP5 post feature with an Ajax-based solution that allows real‑time image preview, server‑side handling via PHP, and selective deletion of uploaded images, improving compatibility and user experience.

FormDataJavaScriptThinkPHP5
0 likes · 5 min read
Implementing Ajax Image Upload with Deletion in ThinkPHP5
New Oriental Technology
New Oriental Technology
Mar 22, 2021 · Backend Development

Introduction to Node.js: History, Core Features, and Ecosystem

This article introduces Node.js by recounting its creator Ryan Dahl's background, explaining its core characteristics of single‑threaded, event‑driven, non‑blocking I/O architecture, describing suitable use cases, and reviewing basic code examples and popular frameworks such as Express, Koa, Nest, and Egg.

BackendEvent-drivenJavaScript
0 likes · 11 min read
Introduction to Node.js: History, Core Features, and Ecosystem
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 18, 2021 · Frontend Development

Understanding React Fiber: How It Boosts Rendering Performance

This article explains why React introduced the Fiber architecture, how it breaks rendering work into small interruptible units, the role of requestAnimationFrame and requestIdleCallback, the underlying linked‑list data structures, and provides code examples that illustrate the render and commit phases for smoother UI updates.

FiberJavaScriptReact
0 likes · 24 min read
Understanding React Fiber: How It Boosts Rendering Performance
ELab Team
ELab Team
Mar 17, 2021 · Frontend Development

Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries

This article explains the history of global time standards, how computers represent time with Unix timestamps and the 2038 problem, details ISO 8601 and RFC 2822 formats, and provides practical JavaScript Date usage examples along with comparisons of popular date‑handling libraries such as Moment.js, Dayjs, and Miment.

DayjsJavaScriptdate
0 likes · 22 min read
Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries
ByteFE
ByteFE
Mar 17, 2021 · Frontend Development

A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications

This article explains the syntax and behavior of JavaScript's reduce method, compares it with map, forEach, filter and find, and demonstrates numerous practical patterns such as flattening arrays, counting occurrences, grouping by property, deduplication, and finding extrema, all illustrated with clear code examples.

ArrayCode ExamplesJavaScript
0 likes · 10 min read
A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications
JavaScript
JavaScript
Mar 17, 2021 · Frontend Development

Explore the New ECMAScript 2021 Specification – The Future of JavaScript

Frontend developers are urged to spend a relaxed weekend reviewing the nearly completed ECMAScript 2021 specification—set for Ecma’s June approval—which will underpin the next generation of JavaScript implementations, with the full draft available at https://tc39.es/ecma262/2021/.

2021ECMAScriptJavaScript
0 likes · 1 min read
Explore the New ECMAScript 2021 Specification – The Future of JavaScript
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 16, 2021 · Fundamentals

How Error Cause, Temporal, and Array.findLast Proposals Will Transform JavaScript

The article reviews recent TC39 proposal updates—including Error Cause reaching Stage 3, the Temporal API replacing the flawed Date object, the new Array.findLast methods, and Module Fragments—explaining their motivations, design details, code examples, and how they aim to improve JavaScript development across environments.

Array.findLastECMAScriptError Cause
0 likes · 14 min read
How Error Cause, Temporal, and Array.findLast Proposals Will Transform JavaScript
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 16, 2021 · Frontend Development

Secure Plugin Sandboxes in Modern Web Editors: VS Code, Atom, and Figma

Exploring the evolution of web-based editors and design tools, this article examines why traditional plugin architectures like Atom faltered, how VS Code’s more restrictive model improves performance and security, and delves into Figma’s sophisticated sandboxing techniques—including Realm, Duktape, and CSS isolation—to balance flexibility with safety.

FigmaJavaScriptplugin architecture
0 likes · 15 min read
Secure Plugin Sandboxes in Modern Web Editors: VS Code, Atom, and Figma
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 15, 2021 · Frontend Development

Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting

This article investigates why JavaScript's Object.keys() may return keys in an unexpected order, explains the specification‑defined sorting rules for integer and string properties, demonstrates the issue with timestamp tags on iOS and Android, and explores the actual implementations in QuickJS and V8 engines.

JavaScriptObject.keysQuickJS
0 likes · 16 min read
Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting
Baidu Geek Talk
Baidu Geek Talk
Mar 10, 2021 · Frontend Development

How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture

This article dissects San CLI's internal architecture, detailing its core modules, the distinction between main and service processes, the step‑by‑step execution of the san init command, the TaskList implementation that drives sequential tasks, and the design of Command and Service plugins that enable extensibility.

CLICommand PluginJavaScript
0 likes · 16 min read
How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture
JavaScript
JavaScript
Mar 9, 2021 · Frontend Development

How to Accurately Check Property Existence in JavaScript Objects

This article compares three common JavaScript techniques—truthy checks, the in operator, and hasOwnProperty()—explaining their behavior with various value types, prototype inheritance, and edge cases, and provides code examples to help you choose the most reliable method for property detection.

IN operatorJavaScripthasOwnProperty
0 likes · 5 min read
How to Accurately Check Property Existence in JavaScript Objects
Programmer DD
Programmer DD
Mar 9, 2021 · Frontend Development

How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API

This article introduces GoDB.js, a TypeScript‑based wrapper for IndexedDB that provides a concise, schema‑aware CRUD API, hides asynchronous connection handling, and offers batch operations, making client‑side data storage in modern web apps much easier.

IndexedDBJavaScriptTypeScript
0 likes · 17 min read
How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API
ByteFE
ByteFE
Mar 8, 2021 · Frontend Development

Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders

This article explains the internal workflow of vue-loader, detailing how it separates style, script, template, and custom blocks in Vue single‑file components, injects a pitcher loader, clones webpack rules, and leverages resourceQuery to reuse user‑defined loaders such as less‑loader or babel‑loader.

JavaScriptVueloader
0 likes · 17 min read
Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders
Beike Product & Technology
Beike Product & Technology
Mar 5, 2021 · Frontend Development

Understanding the Browser History API: Properties, Methods, Events, and Practical Front‑End Applications

This article introduces the window.history object, explains its key properties, methods and the popstate event, answers common questions about its behavior, and demonstrates practical uses such as single‑page routing, navigation control, and custom front‑end router implementations with code examples.

History APIJavaScriptSingle Page Application
0 likes · 16 min read
Understanding the Browser History API: Properties, Methods, Events, and Practical Front‑End Applications
JavaScript
JavaScript
Mar 5, 2021 · Frontend Development

Unlock JavaScript Power: 6 Essential Operators Every Developer Should Master

Explore six powerful JavaScript operators—including spread, Set, ternary, template literals, optional chaining, and nullish coalescing—through clear explanations and code snippets, showing how they simplify code, enhance readability, and boost efficiency in modern front‑end development.

CodeExamplesES2020JavaScript
0 likes · 5 min read
Unlock JavaScript Power: 6 Essential Operators Every Developer Should Master
21CTO
21CTO
Mar 4, 2021 · Fundamentals

Why JavaScript Still Leads the RedMonk 2021 Language Rankings

RedMonk’s February 2021 programming language ranking places JavaScript at the top, followed by Python, Java, and PHP, using GitHub pull‑request data and Stack Overflow activity to gauge popularity, and notes that half of the top‑20 languages have shifted unusually compared to the previous year.

JavaScriptPythonRedMonk
0 likes · 3 min read
Why JavaScript Still Leads the RedMonk 2021 Language Rankings
vivo Internet Technology
vivo Internet Technology
Mar 3, 2021 · Frontend Development

Understanding Tapable: Architecture, Hook Types, and Practical Applications

Tapable powers Webpack’s extensible workflow by providing a dynamic function generator and a suite of over ten hook classes—such as SyncHook, AsyncSeriesWaterfallHook, and AsyncParallelHook—that let developers compose synchronous, asynchronous, bail‑out, waterfall, and looping pipelines, illustrated by a jQuery.ajax‑style service where each request phase is modularly plugged in.

JavaScriptTapablehooks
0 likes · 18 min read
Understanding Tapable: Architecture, Hook Types, and Practical Applications
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 3, 2021 · Frontend Development

Mastering JavaScript Memory Management: GC Algorithms and Performance Tips

Understanding how JavaScript manages memory, this article explains garbage collection concepts such as Stop‑The‑World pauses, reference counting, mark‑sweep, mark‑compact, incremental marking, and V8’s generational strategies, while offering practical code examples and optimization techniques to prevent leaks and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 14 min read
Mastering JavaScript Memory Management: GC Algorithms and Performance Tips
政采云技术
政采云技术
Mar 2, 2021 · Fundamentals

Implementing a Binary Heap in JavaScript

This article explains the concepts of binary trees and binary heaps, describes their relationship, and provides a complete JavaScript implementation—including initialization, heapify, insertion, deletion, and sorting—illustrated with diagrams and runnable code examples.

JavaScriptSortingbinary heap
0 likes · 13 min read
Implementing a Binary Heap in JavaScript
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 2, 2021 · Frontend Development

How Ant’s ‘Five Blessings’ 3D Spring Promotion Was Built with Oasis Engine

This article details the technical implementation of Ant Group’s annual Five Blessings Spring promotion, covering the business breakdown, 3D scene construction using the Oasis engine, sliding control logic, visual effects, and extensive performance optimizations for memory, texture, buffers, and loading on mobile web.

3D renderingJavaScriptOasis Engine
0 likes · 16 min read
How Ant’s ‘Five Blessings’ 3D Spring Promotion Was Built with Oasis Engine
New Oriental Technology
New Oriental Technology
Mar 1, 2021 · Frontend Development

Manhattan Routing Algorithm Implementation for Diagram Connections

This article explains the Manhattan routing algorithm used for automatic orthogonal connection routing in diagram tools, discusses its origins, references useful libraries like draw2d, and provides a full TypeScript implementation with code examples and practical application scenarios.

DiagrammingJavaScriptManhattan routing
0 likes · 8 min read
Manhattan Routing Algorithm Implementation for Diagram Connections
The Dominant Programmer
The Dominant Programmer
Feb 27, 2021 · Backend Development

How to Generate QR Code Images with SpringBoot, ZXing, and Vue

This guide demonstrates how to integrate ZXing into a SpringBoot backend to generate QR code images, expose them via a REST endpoint, and display the QR codes in a Vue front‑end dialog by fetching the image as a blob and rendering it with Element UI components.

JavaScriptQR codeSpringBoot
0 likes · 14 min read
How to Generate QR Code Images with SpringBoot, ZXing, and Vue
Taobao Frontend Technology
Taobao Frontend Technology
Feb 26, 2021 · Fundamentals

Which New JavaScript Proposals Advanced to Stage 4 in the Jan 2024 TC39 Meeting?

The January 29 TC39 meeting reviewed progress on dozens of ECMAScript proposals, outlining the criteria for moving from Stage 3 to Stage 4, Stage 2 to Stage 3, and Stage 1 to Stage 2, and highlighting key features such as Intl.DateTimeFormat.formatRange, JSON Modules, Private‑in, class static blocks, resizable array buffers, and new Intl APIs.

ECMAScriptJavaScriptStage 4
0 likes · 24 min read
Which New JavaScript Proposals Advanced to Stage 4 in the Jan 2024 TC39 Meeting?
KooFE Frontend Team
KooFE Frontend Team
Feb 24, 2021 · Frontend Development

Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices

This article examines the long‑standing debate over mandatory semicolons in JavaScript, explains Automatic Semicolon Insertion, shows code examples where omitting them causes errors, compares major style guides, and shares expert opinions to help developers choose a consistent approach.

JavaScriptbest practicescode style
0 likes · 6 min read
Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices
ByteFE
ByteFE
Feb 24, 2021 · Frontend Development

A Practical Guide to Creating SVG Animations with GSAP and TimelineMax

This tutorial demonstrates how to easily create dynamic SVG animations by leveraging the GreenSock Animation Platform (GSAP), specifically focusing on TimelineMax and staggerFrom methods to manipulate DOM elements, apply easing functions, and sequence complex visual effects with minimal code.

CSS selectorsGSAPJavaScript
0 likes · 7 min read
A Practical Guide to Creating SVG Animations with GSAP and TimelineMax
JavaScript
JavaScript
Feb 24, 2021 · Backend Development

Essential Node.js Skills Every Backend Developer Should Master

This guide outlines the core JavaScript concepts, asynchronous programming fundamentals, package management, HTTP protocols, web frameworks, databases, caching strategies, template engines, real‑time communication, API clients, and testing tools that form a comprehensive learning roadmap for aspiring Node.js backend developers.

JavaScriptNode.jsdatabases
0 likes · 6 min read
Essential Node.js Skills Every Backend Developer Should Master
ByteFE
ByteFE
Feb 23, 2021 · Frontend Development

A Complete Guide to Building Chrome Browser Extensions: Manifest, Background, Content & Popup Scripts

This tutorial explains what browser extensions are, walks through creating a simple Chrome extension with a manifest file, adds icons and a popup page, details background, content‑scripts, inject‑scripts, permissions, inter‑script communication, and demonstrates a practical HTTP‑Header extension example.

Background ScriptChrome ExtensionContent Script
0 likes · 16 min read
A Complete Guide to Building Chrome Browser Extensions: Manifest, Background, Content & Popup Scripts
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 22, 2021 · Fundamentals

What New TC39 Proposals Shaped JavaScript in the January 2024 Meeting?

The TC39 January 29 meeting reviewed progress of multiple proposals advancing to later stages—including Intl.DateTimeFormat.formatRange, JSON Modules, Private‑In, Class Static Initializer Block, ResizableArrayBuffer, new Intl APIs, RegExp enhancements, Array findLast, defer import, and several internationalization extensions—detailing requirements, implementations, and upcoming milestones.

ECMAScriptJavaScriptRegExp
0 likes · 23 min read
What New TC39 Proposals Shaped JavaScript in the January 2024 Meeting?
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Frontend Development

Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript

This article presents practical refactoring techniques for JavaScript code, illustrating how to replace callback‑hell request chains with Promise.all and async/await, transform tangled if‑else blocks into pure, modular functions, and adopt clean‑code principles to improve readability, testability, and maintainability.

AsyncJavaScriptPromise
0 likes · 10 min read
Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript
ByteFE
ByteFE
Feb 10, 2021 · Frontend Development

Handling Unicode and Supplementary Characters in JavaScript

This article explains how JavaScript processes Unicode characters, demonstrates the limitations of legacy APIs like charCodeAt and fromCharCode with supplementary characters, and introduces modern methods such as codePointAt, fromCodePoint, Unicode escape syntax, surrogate pairs, and polyfills for full Unicode support.

JavaScriptSurrogate PairUTF-8
0 likes · 10 min read
Handling Unicode and Supplementary Characters in JavaScript
KooFE Frontend Team
KooFE Frontend Team
Feb 9, 2021 · Frontend Development

Which JavaScript Loop Is Fastest? Benchmark Results and Best Use Cases

This article compares the performance of common JavaScript looping constructs—including for, reverse for, forEach, for...of, for...in, and for...await—provides benchmark code on a million‑element array, explains the speed differences, and offers guidance on choosing the right loop for readability and maintainability.

JavaScriptLoopsbenchmark
0 likes · 7 min read
Which JavaScript Loop Is Fastest? Benchmark Results and Best Use Cases
Taobao Frontend Technology
Taobao Frontend Technology
Feb 8, 2021 · Frontend Development

How iMove Turns Complex Front‑End Logic into Visual Flowcharts and Ready‑to‑Use Code

This article introduces the open‑source iMove tool, explains why front‑end development faces UI volatility, tangled logic and combined interfaces, and shows how iMove’s visual flow‑chart editor, low‑code node functions, online and local compilation, and automatic npm dependency parsing enable reusable, maintainable, language‑agnostic front‑end solutions.

JavaScriptVisual Programminglow-code
0 likes · 20 min read
How iMove Turns Complex Front‑End Logic into Visual Flowcharts and Ready‑to‑Use Code
ELab Team
ELab Team
Feb 7, 2021 · Fundamentals

How to Prove JavaScript and TypeScript Are Turing‑Complete Using Partial Recursive Functions

This article explains why implementing partial recursive functions is equivalent to Turing‑completeness, defines the basic functions and operations of partial recursion, demonstrates how common arithmetic can be built from them, and provides JavaScript and TypeScript code that formally proves both languages are Turing‑complete.

Computability theoryJavaScriptPartial recursive functions
0 likes · 14 min read
How to Prove JavaScript and TypeScript Are Turing‑Complete Using Partial Recursive Functions