Certificates.dev Blog

Discover the latest Certificates tips & tricks, industry news, and best practices

Closures Explained: How Functions Remember Their Scope

Closures Explained: How Functions Remember Their Scope

A function in JavaScript remembers the scope it was created in, even after that scope has finished executing. Learn what closures are, why the loop bug happens, and how to use them in practice.

Martin Ferret

Martin Ferret

May 26, 2026

JavaScript finally gets dates right

JavaScript finally gets dates right

JavaScript's Date object is 30 years old, copied from Java, and never really fixed. Temporal is the native API that finally gets dates right: immutable, timezone-aware, and no more dividing by 86400000.

Martin Ferret

Martin Ferret

May 12, 2026

Nullish Coalescing Operator

Nullish Coalescing Operator

Understand the difference between || and ?? in JavaScript, and learn how the nullish coalescing operator avoids common pitfalls with falsy values like 0, empty strings, and false.

Martin Ferret

Martin Ferret

Apr 28, 2026

JavaScript Mistakes That Quietly Destroy Production Apps

JavaScript Mistakes That Quietly Destroy Production Apps

Some JavaScript mistakes don’t crash your app, they slowly degrade performance, reliability, and user trust. Here are the ones that cost the most in production.

Martin Ferret

Martin Ferret

Apr 14, 2026

Custom Errors in JavaScript: Extending Error the Right Way

Custom Errors in JavaScript: Extending Error the Right Way

Learn how to extend JavaScript’s Error class correctly, build error hierarchies, and wrap exceptions for clean, scalable error handling.

Martin Ferret

Martin Ferret

Mar 17, 2026

JavaScript Modules Explained: The Foundation of Modern JS Applications

JavaScript Modules Explained: The Foundation of Modern JS Applications

A deep, practical explanation of JavaScript ES Modules: execution model, shared exports, strict mode, browser rules, and real-world implications.

Martin Ferret

Martin Ferret

Mar 3, 2026

Vanilla JavaScript in 2026: Why You Still Can’t Ignore It

Vanilla JavaScript in 2026: Why You Still Can’t Ignore It

Vanilla JavaScript in 2026: Why You Still Can’t Ignore It

Martin Ferret

Martin Ferret

Feb 3, 2026

The JavaScript Event Loop: The Skill That Separates Juniors From Seniors

The JavaScript Event Loop: The Skill That Separates Juniors From Seniors

Promises, async/await, timers…everything in JavaScript relies on the event loop. Mastering it changes how you write and debug code.

Martin Ferret

Martin Ferret

Jan 21, 2026

JavaScript Isn’t Slow. You’re Just Using It Wrong.

JavaScript Isn’t Slow. You’re Just Using It Wrong.

JavaScript is not inherently slow. Poor architectural choices are. Here’s how modern JavaScript actually performs, and where developers really lose speed.

Martin Ferret

Martin Ferret

Jan 6, 2026