☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 months agoJavaScriptlemmy.mlimagemessage-square26linkfedilinkarrow-up1177arrow-down13cross-posted to: [email protected]
arrow-up1174arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 months agomessage-square26linkfedilinkcross-posted to: [email protected]
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up5·edit-25 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.