Jul 27, 2024
FWIW neither the semicolon nor the curly brackets are needed in that guard clause; in fact, it can be written on a single line.
FWIW neither the semicolon nor the curly brackets are needed in that guard clause; in fact, it can be written on a single line.
Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.