☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 25 days agoJavaScriptlemmy.mlimagemessage-square26linkfedilinkarrow-up1175arrow-down13cross-posted to: [email protected]
arrow-up1172arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 25 days agomessage-square26linkfedilinkcross-posted to: [email protected]
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up4·edit-224 days agoIronically 'a'++ works in C/C++ because ‘a’ is char where in JS ‘a’ is string.
Ironically
'a'++
works in C/C++ because ‘a’ ischar
where in JS ‘a’ isstring
.