siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agothe hardest exam questionlemmy.mlimagemessage-square140fedilinkarrow-up1735arrow-down123
arrow-up1712arrow-down1imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square140fedilink
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.