
Syntax - Tasty Web Development Treats 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
Range Overflow
- The
rangeOverflowproperty checks input validity by comparing values tominandmaxattributes. - It's a boolean available on input elements to programmatically validate range restrictions.
Regex Matching
- Use
.match()with the global flag or.matchAll()to extract all regex matches from a string. .matchAll()offers additional details, like capturing groups, without necessarily needing the 'g' flag.
Thunk Functions
- A thunk function is a function that delays evaluation.
- It takes no arguments and encapsulates future computation.
