HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23 months agoWhy make it complicated?lemmy.mlimagemessage-square22linkfedilinkarrow-up1152arrow-down111file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1141arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23 months agomessage-square22linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squarelobut@lemmy.calinkfedilinkarrow-up2·3 months agoI think you can do const thing = ... as constto lock down the mutation?
I think you can do
const thing = ... as const
to lock down the mutation?