Mar 13, 2024
Haha Ray 🤣 Good one! The difference is revealed when you hover your mouse in VS Code and either know what the underlying raw data type is (union) or have to Ctrl+click (CMD+click) to look it up (enum).
Haha Ray 🤣 Good one! The difference is revealed when you hover your mouse in VS Code and either know what the underlying raw data type is (union) or have to Ctrl+click (CMD+click) to look it up (enum).
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.