☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 days agoJavaScriptlemmy.mlimagemessage-square23fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 days agomessage-square23fedilink
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up0·edit-210 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
.