☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 days agoJavaScriptlemmy.mlimagemessage-square26linkfedilinkarrow-up1174arrow-down13cross-posted to: programmer_humor@programming.dev
arrow-up1171arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 days agomessage-square26linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up3·edit-26 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
.