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