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.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Range Overflow

  • The rangeOverflow property checks input validity by comparing values to min and max attributes.
  • It's a boolean available on input elements to programmatically validate range restrictions.
ADVICE

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.
INSIGHT

Thunk Functions

  • A thunk function is a function that delays evaluation.
  • It takes no arguments and encapsulates future computation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app