SFSimone Festaincertosinolab.hashnode.dev·Aug 8 · 7 min readStop Writing has() + get() + set() — JavaScript Has a Better WayIf you've ever used a JavaScript Map, there's a good chance you've written something like this: if (!users.has(id)) { users.set(id, createUser(id)); } const user = users.get(id); The intention is 00
SFSimone Festaincertosinolab.hashnode.dev·Aug 8 · 6 min readJavaScript Object vs Map: When Should You Use Each?JavaScript gives us more than one way to store key-value data. The most obvious one is an object: const user = { name: "Mario", age: 30, role: "admin" }; But JavaScript also has Map: const user00
SFSimone Festaincertosinolab.hashnode.dev·Aug 7 · 9 min readJavaScript Finally Fixed Summation — But 0.1 + 0.2 Is Still BrokenIf you've written JavaScript for more than five minutes, you've probably seen this: 0.1 + 0.2 // 0.30000000000000004 It has become one of those JavaScript jokes we all know. But in 2026, JavaScript g00
SFSimone Festaincertosinolab.hashnode.dev·Aug 3 · 32 min readStreaming Large ZIP Archives in the Browser with Vue and the File System Access APIBlob vs streaming, ZIP64, progress tracking, cancellation, and browser fallbacks Exporting a file from a web application usually looks like a simple operation. The application generates some data, cre00