☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 29 days agoJavaScriptlemmy.mlexternal-linkmessage-square26fedilinkarrow-up1175arrow-down14cross-posted to: programmer_humor@programming.dev
arrow-up1171arrow-down1external-linkJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 29 days agomessage-square26fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up4·edit-228 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
.