Unreachable Code Finds Love
const single = true function valentinesDay2021() { if (single) { function findLove(): void Unreachable code detected. ts(7027) Quick Fix... (⌘.) findLove() }
A TypeScript code editor shows a function for Valentine’s Day that only tries to find love when the programmer is single. The editor marks the search as unreachable code, joking that a single person’s attempt to find love is impossible or doomed to fail.
- @dev_meme / 2749 2021-02-14
- Type
- image
- Size
- 792×516 · 39.8 KiB
- Mood
- sarcastic
- Language
- en
- Added