Tagged articles
2 articles
Page 1 of 1
JavaScript
JavaScript
Jul 5, 2025 · Fundamentals

Why Do Top JavaScript Libraries Use void 0 Instead of undefined?

This article explains the historical reason why JavaScript's undefined is not a keyword, how the void operator reliably returns undefined, and why high‑quality libraries prefer the concise void 0 syntax for safety and minification.

JavaScriptcode safetylanguage fundamentals
0 likes · 5 min read
Why Do Top JavaScript Libraries Use void 0 Instead of undefined?
ByteFE
ByteFE
Jan 12, 2022 · Fundamentals

Understanding the Differences Between null and undefined in JavaScript

This article explains the conceptual and practical differences between JavaScript's null and undefined values, covering their definitions, type checking methods, comparison behavior, arithmetic conversion, JSON serialization, and best practices for usage.

ComparisonJSONJavaScript
0 likes · 10 min read
Understanding the Differences Between null and undefined in JavaScript