HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23 months agoWhy make it complicated?lemmy.mlimagemessage-square110linkfedilinkarrow-up1322arrow-down137file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1285arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23 months agomessage-square110linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squarelobut@lemmy.calinkfedilinkarrow-up4·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?