618
know the features of your language
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
~~
return a and a or b
~~ →return a or b
correction from @murtaza64
Lua. My beloved.
That's valid Python as well
It's probably valid javascript that returns "-1" or the empty string depending on if "b" is undefined or null