siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agothe hardest exam questionlemmy.mlimagemessage-square146fedilinkarrow-up1742
arrow-up1742imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square146fedilink
minus-squareowsei@programming.devlinkfedilinkarrow-up2·7 months agoI don’t know how luxon works, but isWeekend could be a property instead of a function
minus-squareByteJunk@lemmy.worldlinkfedilinkarrow-up2·7 months agoIt is. It also happens to be undefined, and checking that for truth is how I was bitten.
I don’t know how luxon works, but isWeekend could be a property instead of a function
It is. It also happens to be undefined, and checking that for truth is how I was bitten.