☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agoJavaScriptlemmy.mlimagemessage-square26fedilinkarrow-up1175arrow-down13
arrow-up1172arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square26fedilink
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up5·edit-21 month 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
.