Javascript is required
Technical guides and resources

Featured Technical Guides and Troubleshooting

Featured content is selected by usefulness and verification, not volume. It is organized around data parsing, format conversion, encoding boundaries, browser APIs, security notes and implementation details, and only audited articles with focused examples and real internal links appear here.

Pitfalls
2026-07-28·8 min read

Large JSON Integers: Precision Fixes

Learn why JavaScript can round valid JSON integers, and how string contracts, BigInt conversion, and safe serialization preserve every digit.

JSONJavaScriptNumberBigInt精度丢失
Read full article->
Troubleshooting
2026-07-28·10 min read

JSON.parse Unexpected Token: Debugging Causes

Debug JSON.parse errors by checking raw responses, positions, and grammar. Covers HTML, double parsing, trailing commas, escaping, and truncated data.

JSONJSON.parseSyntaxErrorUnexpected token调试
Read full article->
Performance
2026-07-28·13 min read

Large JSON: Web Workers and Virtual Lists

Separate file reading, JSON parsing, worker messaging, and DOM costs. Keep data in a worker, return viewport slices, and render a Vue 3 virtual list.

JSONWeb Worker虚拟列表大文件Vue 3
Read full article->
Pitfalls
2026-07-28·9 min read

Nested JSON Escaping: Backslashes and Parsing

Understand the four JSON representation layers and apply one stringify and one parse per layer without destructive backslash replacements.

JSON转义反斜杠JSON.stringify嵌套 JSON
Read full article->
Concepts
2026-07-28·7 min read

JSON Unicode Escapes: UTF-16 and UTF-8

Understand JSON \uXXXX code units, emoji surrogate pairs, native Unicode, escaped text, and safe conversion or validation.

JSONUnicodeUTF-16UTF-8代理对
Read full article->
Best practices
2026-07-28·6 min read

XSS Defense: URL vs HTML Encoding

Analyze HTML text, attribute, JS, and URL sink differences (<a href>), clarifying why URL encoding cannot replace XSS defense with multi-layered rules.

XSS DefenseURL EncodeHTML EntitySecurity
Read full article->
Best practices
2026-07-28·8 min read

PBKDF2 Password Hashing vs Plain SHA-256

Understand why plain SHA-256 password hashes are fast to crack, and how unique salts plus PBKDF2 slow offline guessing.

SaltPBKDF2SHA-256Password SecurityCryptography
Read full article->
How it works
2026-07-28·5 min read

Web Crypto SHA-256: Large-File Memory Limits

Web Crypto digest is not streaming: set a size limit for smaller files, and use an audited incremental SHA-256 Worker for genuinely large files.

Web Crypto APILarge File HashAsyncPerformance
Read full article->
Pitfalls
2026-07-28·7 min read

10/13-Digit Timestamps: Year 1970 Bugs

Explain second (10-digit) vs. millisecond (13-digit) Unix timestamp unit differences in JavaScript Date parsing, providing normalization helpers.

Timestamp10-digit13-digitYear 1970 Bug
Read full article->
How it works
2026-07-28·7 min read

UUID v1 vs v4 vs v5: Privacy & Collisions

Use RFC 9562 to compare v1 time/node fields, v4's 122 random bits, and v5 namespace/name mapping, including privacy, collision, and database tradeoffs.

UUIDUUID v4CollisionMAC AddressCrypto
Read full article->
Pitfalls
2026-07-28·7 min read

ReDoS: Catastrophic Regex Backtracking

Examine Regular Expression Denial of Service (ReDoS) mechanics, detailing NFA engine catastrophic backtracking and offering safe rewriting & timeout safeguards.

ReDoSRegexPerformanceCPU 100%Security
Read full article->

Featured Technical Guides and Troubleshooting

Featured content is organized around data parsing, format conversion, encoding boundaries, browser APIs, security notes and implementation details.

Only audited articles with focused examples and real internal links appear here, and each guide focuses on a verifiable problem.