HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-24 months agoWhy make it complicated?lemmy.mlimagemessage-square74fedilinkarrow-up1315arrow-down135file-text
arrow-up1280arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-24 months agomessage-square74fedilinkfile-text
minus-squareHotzilla@sopuli.xyzlinkfedilinkarrow-up4·edit-24 months agoTrue, but var and let are not same in js, so there is three. if(true) { var a = "dumdum" } console.log(a) Is valid and functioning javascript. With let it is not.
True, but var and let are not same in js, so there is three.
if(true) {var a = "dumdum"}console.log(a)Is valid and functioning javascript. With let it is not.