Easier Way to Return False
function returnTrue() { return true; } function returnFalse() { return false; }
A dark-themed code editor shows two JavaScript functions, one returning true and the other returning false. The joke is that the programmer wishes there were an easier way to do something trivial, using unnecessary functions as an ironic example of overcomplicating simple code.
- @eternalclassic / 30877 2023-04-12
- Type
- image
- Size
- 304×167 · 12.2 KiB
- Mood
- sarcastic
- Language
- en
- Added