☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 days agoJavaScriptlemmy.mlexternal-linkmessage-square23fedilinkarrow-up11arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up11arrow-down1external-linkJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 days agomessage-square23fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up0·edit-23 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
.