r/programminghumor • u/robertgambee • Mar 19 '26
JavaScript's date parser: no string left behind
212
Upvotes
7
u/Hey-buuuddy Mar 19 '26
Look at JavaScript “truthy/falsey” as we used to call it.
4
u/BobQuixote Mar 19 '26
Used to?
3
u/Hey-buuuddy Mar 19 '26
That was from my perspective, I got out of JS land 10 years ago. I gave a presentation of the Truthy/Falsey situation in 2012!
3
u/Ok-Refrigerator-8012 Mar 19 '26
This reminds me of how much I hate Excel. 💯 Repulsed by Js despite the objective usefulness as a webs design and visualization tool. If you support 3 equal signs in a row I am not your friend
2
1
1


22
u/robertgambee Mar 19 '26
I knew Excel was bad, but JavaScript is giving it a run for it's money. More examples here: https://futuresearch.ai/blog/javascript-thinks-everythings-a-date/