News for hackers. Stuff that matters.
Re:New Date("WTF") – How well do you know JavaScript's Date ... by netsharc on Saturday July 12, 2025 @11:04AM (#44542556)
Should "falsch", "faux" and "ЛОЖЬ" be understood as false too?
Re:New Date("WTF") – How well do you know JavaScript's Date ... by tialaramex on Saturday July 12, 2025 @11:15AM (#44542639)
Not at all, "false" shouldn't be false either, the appropriate thing to do when the programmer writes nonsense is to reject what they wrote entirely.
Re:New Date("WTF") – How well do you know JavaScript's Date ... by wiseowise on Saturday July 12, 2025 @02:34PM (#44544017)
What a conventional wisdom for 30 year old language that is based on whatever state of the art was at the time.

They should’ve just deprecated it right away, invent Time Machine, move to the future, grab Rust and make it the scripting language. Duh.