Blog de Certificates.dev

Descubre los últimos consejos y trucos sobre certificados, noticias del sector y buenas prácticas

Promise.withResolvers(): el patrón «Deferred» integrado

Promise.withResolvers(): el patrón «Deferred» integrado

Promise.withResolvers() sustituye al patrón «deferred» manual en JavaScript. Una sola desestructuración, sin ejecutor, sin «let». ES2024, compatible con todos los entornos de ejecución modernos.

Martin Ferret

Martin Ferret

23 de junio de 2026

`using` en JavaScript: gestión automática de recursos

`using` en JavaScript: gestión automática de recursos

Descubre cómo la nueva palabra clave «using» y Symbol.dispose sustituyen a «try/finally» para una gestión más limpia de los recursos en JavaScript. Con detalles sobre la compatibilidad con ES2026.

Martin Ferret

Martin Ferret

9 de junio de 2026

Explicación de los cierres: cómo recuerdan las funciones su ámbito de aplicación

Explicación de los cierres: cómo recuerdan las funciones su ámbito de aplicación

Una función en JavaScript recuerda el ámbito en el que se creó, incluso después de que ese ámbito haya terminado de ejecutarse. Descubre qué son los cierres, por qué se produce el error del bucle y cómo utilizarlos en la práctica.

Martin Ferret

Martin Ferret

26 de mayo de 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