JavaScript

How to Use Mousetrap (Step-by-Step Guide)

This article introduces the usage of Mousetrap, including its advantages, implementation details, and relevant …

· 3 min
JavaScript

How to Use the keyboard.lock API (Step-by-Step Guide)

Using navigator.keyboard.lock to bypass browser limitations on capturing certain hotkeys (like Command+T) in web …

· 2 min
JavaScript

Browser userAgent

A quick tour of working with the browser userAgent string—from where to access it, to helpful tooling, limitations, and …

· 2 min
JavaScriptChrome

AntiDebug Implementation

This article introduces AntiDebug implementation, including its advantages, implementation details, and related …

· 2 min
JavaScript

Web Page Crashes Caused by File Downloads

This article introduces web page crashes caused by file downloads, including usage scenarios and implementation details …

· 2 min
JavaScript

Handling Cancel Events for Input File Upload

This article introduces how to handle cancel events for input file upload, including advantages, implementation details, …

· 2 min
HTMLJavaScript

Deriving Public Keys from Private Keys in JavaScript

This article provides an introduction to deriving public keys from private keys in JavaScript, including the advantages, …

· 2 min
JavaScript

Composition Events in JavaScript

This post explains composition events in JavaScript, including use cases, behavior, and references to help you …

· 2 min
JavaScript

How to Use Web Workers (Step-by-Step Guide)

An introduction to using Web Workers, including benefits, implementation details, and references to help you use Web …

· 1 min
JavaScript

Zip Download Fails to Unzip in Frontend — Fix

Binary download succeeded but unzip failed; Postman worked. Root cause and fix: set XHR responseType to 'blob'.

· 4 min
JavaScript

JavaScript arguments Object

This article provides an introduction to JavaScript arguments object, including its limitations, comparison with rest …

· 1 min
JavaScript

When tsc Compiled to ES3

Postmortem of a production build that emitted ES3 JavaScript, why it happened, and how we fixed our component library …

· 1 min
JavaScript

Parsing ZIP File Uploads

How to handle ZIP file uploads: reading ZIPs on the frontend, writing on the backend, and practical parsing tips.

· 2 min
JavaScript

Developing Alfred JS SDK

This article introduces developing Alfred JS SDK, including usage scenarios and implementation details, to improve …

· 2 min
Productivity ToolsJavaScript

The == Operator in JavaScript

This post explains the JavaScript == operator, including type coercion rules and examples.

· 1 min
JavaScript

Install v8-debug

Steps for installing the V8 debug shell via jsvu so you can inspect bytecode and VM internals.

· 1 min
JavaScript

Chained Assignment in JavaScript

Breaks down a tricky chained assignment puzzle, reviews operator precedence, and demonstrates how JavaScript evaluates …

· 3 min
JavaScriptCore Concepts

JavaScript Prototype Chain Basics

This post summarizes the JavaScript prototype chain, its key concepts, and references to help you understand …

· 2 min
JavaScript

Commonly Mistaken Export Statements

This article introduces commonly mistaken export statements, including usage scenarios and implementation details, to …

· 2 min
JavaScript

Proxy vs. Reflect in JavaScript

Quick primer on JavaScript metaprogramming concepts—Proxy and Reflect—with background, practical examples, and …

· 2 min
JavaScript

JS下的Promise

This article provides an introduction to Promises in JavaScript, covering their advantages, implementation details, and …

· 3 min
JavaScript

Confusing splice and slice

This article introduces the confusing splice and slice functions, including usage scenarios and implementation details, …

· 2 min
JavaScript

Array.join vs Template strings vs String concatenation

This article introduces the comparison between Array.join, Template strings, and String concatenation, including their …

· 2 min
JavaScript

window.opener

A practical intro to window.opener: what it is, when it exists, how noopener affects process isolation, and trade-offs.

· 2 min
ChromeJavaScript

Maximum call stack size exceeded in JS

This post explains the 'Maximum call stack size exceeded' error in JS, including stack basics, limits, and debugging …

· 2 min
JavaScriptChrome