☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoJavaScriptimagemessage-square26fedilinkarrow-up1168cross-posted to: [email protected]
arrow-up1168imageJavaScript☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square26fedilinkcross-posted to: [email protected]
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up4·edit-22 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
.