ZeroOne ZeroOne
中文
RSS
中文
RSS
Portrait of Zero
Zero
Practical notes on web development, AI, and infrastructure.
Support
Categories
AI 11
Astro 1
Backend 3
DevOps 50
Frontend 64
Marketing 3
Tools 2
Tags
AI Animation API Array Astro Async Automation btop Caddy CI/CD CLI Cloudflare Codex Containers CSS Debugging Deployment Development DevOps Docker Durable Objects Forms Frontend Git GitHub GitHub Actions GitLab hreflang HTML HTTP i18n Images JavaScript JSON Linux Machine Learning MCP Migration Mobile Web n8n Node.js OpenCode Pagefind pnpm Progressive Enhancement Promise Python Search SEO Serverless System Monitoring Troubleshooting TypeScript Ubuntu Unicode Vite Workflows 設定管理 開發工具

Page 5 / 17

ZeroOne English articles, page 5

Posts 33–40 of 134

Read
2026-10-24
Frontend
/
JavaScript
/
Troubleshooting
/
Node.js

JavaScript indexOf Cannot Find NaN: Check includes and Sparse Slots

Fix failed NaN searches with includes, verify sparse-slot differences, and choose a membership or index check with executable JavaScript assertions.

700 words · 4 minutes
Read
2026-10-22
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Array.fill Shares Objects: Create Independent Items

Fix shared objects created by JavaScript Array.fill. Test sparse map callbacks, nested template copies, and matrix rows with independent mutable cells.

1015 words · 5 minutes
Read
2026-10-21
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Regex test() Alternates: Reset or Remove Stateful Flags

Trace why JavaScript regex test() alternates true and false, fix skipped filter results, and verify when resetting lastIndex preserves sticky behavior.

884 words · 4 minutes
Read
2026-10-20
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Set Keeps Duplicate Objects: Deduplicate by ID

Deduplicate JavaScript objects by ID with tested first-wins and last-wins examples. Verify output order, mixed ID types, missing IDs, and shared references.

1060 words · 5 minutes
Read
2026-10-18
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Object Spread Overwrites Nested Objects: Merge Each Level

Fix nested settings lost during JavaScript object spread. Reproduce overwrite order, preserve defaults, and test undefined, null, arrays, and shared references.

1255 words · 6 minutes
Read
2026-10-17
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Date One Day Off: Keep Date-Only Values Intact

Reproduce JavaScript dates shifting a day in three time zones, then choose date-only storage, local midnight, or explicit UTC without offset hacks.

978 words · 5 minutes
Read
2026-10-16
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

JavaScript Async filter Keeps Every Item: Await the Decisions

Fix async filter keeping every item with a tested value-decision pairing, reverse completion trace, and explicit rejection and mutation boundaries.

920 words · 5 minutes
Read
2026-10-15
Frontend
/
JavaScript
/
Node.js
/
Troubleshooting

structuredClone DataCloneError: Separate Data from Functions

Fix structuredClone errors from functions, distinguish lost class methods from clone failures, and verify a data-only payload with runnable Node.js checks.

1014 words · 5 minutes
1234
5
67 17
© 2026 Zero. All Rights Reserved. / 中文 / RSS / Sitemap
© 2026 Zero. All Rights Reserved. / 中文 / RSS / Sitemap