• Feed
  • Discussions
weakmap and weakset

weakmap and weakset

#weakmap-and-weakset
0 followers·3 articles

weakmap and weakset

#weakmap-and-weakset·0 followers·3 articles
weakmap and weakset
manoj ymk
manoj ymk
javascript-day-1.hashnode.dev·May 27, 2025
May 27, 2025

Lesson 41: Mastering JavaScript WeakMap and WeakSet with challenges!

✅ What are WeakMap and WeakSet? They are special memory-friendly versions of Map and Set where: Keys (in WeakMap) or values (in WeakSet) must be objects only — no primitives allowed. These structures don’t prevent garbage collection — if no other r...

Discuss·1 read
weakmap
Peter Bamigboye
Peter Bamigboye
fantom0.hashnode.dev·Apr 09, 2025
Apr 09, 2025

Closures vs WeakMaps: Hiding Data in JavaScript

In our previous article in the series here, I got a comment on a code snippet I used which made use of closures which reminded me that it is an often confusing part of JavaScript, which then inspired this article. JavaScript developers often face the...

Closures vs WeakMaps: Hiding Data in JavaScript
Discuss·21 likes·24 reads
closures in javascript
Madhan Mohan T
Madhan Mohan T
madhancodes.hashnode.dev·Nov 30, 2024
Nov 30, 2024

Unveiling Rare and Advanced Concepts in JavaScript

JavaScript, a language that started as a simple scripting tool for web browsers, has evolved into a powerful and versatile programming language. While many developers are familiar with its common features, there are several rare and advanced concepts...

Discuss·4 reads
javascript advanced concepts

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

Life2App: Redefining Engagement in the New Economy.

Patience Uyire·64 reads

Reimagining Mobile Wallets: The Future of Finance in a Decentralized Web3 World.

Patience Uyire·65 reads

🌐 AEON: Empowering the Next Generation of Change-Makers with Web3

Naomi Antia Benson·28 reads

Top commenters this week

Melisa Parker
Melisa Parker
Le Li
Le Li
Clarence
Clarence
Mayank Arora
Mayank Arora
Legit or not
Legit or not

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior