biondifabio.bsky.social
Google Expert Angular | Freelance | LearnByDo.ing
👤 Joined on 10 November 2024
Followers
Following
Total Posts
@biondifabio.bsky.social🤫 @biondifabio.bsky.social and I were thinking about it 🤩
Show Post🔥 JavaScript tip: Tired of array[array.length - 1] for the last element? .at(-1) is the elegant way to 👉 grab the last item in a JS array. It's like array indexing but with negative numbers that wrap from the end. ✅ Clean, readable, and modern JavaScript at its finest!
Show Post💡 JavaScript's replaceAll() is like Find & Replace on steroids! No more regex gymnastics or splitting strings - just tell it what to find and what to swap it with. 👉 Clean, simple, powerful.
Show Post💡 Pro Tip: Found a bug in a package but the PR is taking forever? 👉 pnpm patch 👈 is your friend! Make local changes, test them in your app, and share the patch with others until the upstream fix lands. ✅ Instant gratification for impatient devs!
Show Post