MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1torg9l/destructuring_strings/oobfo37/
r/programminghorror • u/Emmennater • May 27 '26
64 comments sorted by
View all comments
Show parent comment
8
If I understood properly, it can be made to return arbitrary results, too. isStringEmpty([{a:NaN}]), for ex.
isStringEmpty([{a:NaN}])
3 u/eloel- May 28 '26 Yeah that should work 6 u/more_exercise May 28 '26 isStringEmpty([{a:144}])[Gross.](https://en.wikipedia.org/wiki/Gross_(unit))
3
Yeah that should work
6 u/more_exercise May 28 '26 isStringEmpty([{a:144}])[Gross.](https://en.wikipedia.org/wiki/Gross_(unit))
6
isStringEmpty([{a:144}])
[Gross.](https://en.wikipedia.org/wiki/Gross_(unit))
View all comments
Show parent comment
8
u/more_exercise May 28 '26
If I understood properly, it can be made to return arbitrary results, too.
isStringEmpty([{a:NaN}]), for ex.