☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoJavaScriptlemmy.mlimagemessage-square26fedilinkarrow-up1170cross-posted to: [email protected]
arrow-up1170imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square26fedilinkcross-posted to: [email protected]
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up3·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
.