☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 6 months agoJavaScriptlemmy.mlimagemessage-square26linkfedilinkarrow-up1176arrow-down14cross-posted to: programmer_humor@programming.dev
arrow-up1172arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square26linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up4·edit-26 months agoIronically 'a'++ works in C/C++ because 'a' is char where in JS ‘a’ is string.
Ironically
'a'++works in C/C++ because'a'ischarwhere in JS ‘a’ isstring.