minus-square@ftatateeta@lemmy.mltoProgrammer Humor@lemmy.ml•If you run this JavaScript function on the 31st of a month, the result will be a month off. The best part is that this is the intended behvaior. JavaScript is a cursed language.linkfedilink1•2 years agoI would expect the month to increment by one and the day to be clamped to the valid days for the month. linkfedilink
minus-square@ftatateeta@lemmy.mltoLinux@lemmy.ml•Linux holds more than 8% market share in India, and it's on the upward trendlinkfedilink5•2 years agoWhy is linux so popular in India? linkfedilink
minus-square@ftatateeta@lemmy.mltoLinux@lemmy.ml•Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!linkfedilink-1•2 years agoYou might wait for a long time if America bans RISC-V development. linkfedilink
I would expect the month to increment by one and the day to be clamped to the valid days for the month.