siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 4 months agothe hardest exam questionlemmy.mlimagemessage-square146fedilinkarrow-up1737
arrow-up1737imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 4 months agomessage-square146fedilink
minus-squareowsei@programming.devlinkfedilinkarrow-up2·4 months agoI don’t know how luxon works, but isWeekend could be a property instead of a function
minus-squareByteJunk@lemmy.worldlinkfedilinkarrow-up2·4 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.