☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 days agoJavaScriptlemmy.mlimagemessage-square26fedilinkarrow-up1174arrow-down14
arrow-up1170arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 days agomessage-square26fedilink
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up3·edit-211 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
.