HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-215 days agoWhy make it complicated?lemmy.mlimagemessage-square109linkfedilinkarrow-up1320arrow-down138file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1282arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-215 days agomessage-square109linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squarelobut@lemmy.calinkfedilinkarrow-up4·14 days 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?