

JavaScript × STUMP’D
Apr 27, 2022
Wes and Scott engage in a humorous Q&A, tackling tricky JavaScript interview questions. They explore concepts like WeakMaps, object iteration techniques, and the importance of promises in event handling. The discussions highlight modern JavaScript features such as arrow functions and ES6 class structures while infusing personal anecdotes about DIY garage renovations. Listeners can expect a blend of technical insights and lighthearted banter, along with tips for utilizing headless CMS tools for better content management.
AI Snips
Chapters
Transcript
Episode notes
Garage Talk
- Scott and Wes discuss garage organization, including slat wall systems and epoxy floors.
- Wes describes his half-finished garage, prompting a conversation about DIY projects.
WeakMap Methods
- Use methods like
.set
,.get
,.delete
, and.has
on WeakMaps. - These methods manage key-value pairs, but size retrieval isn't available due to weak references.
Making Objects Iterable
- Make objects iterable using
Symbol.iterator
. - This lets you define custom iteration logic for objects.