a14o ( a14o@feddit.org ) to Programmer Humor@lemmy.mlEnglish · 1 year agoMadness or brilliancelemmy.mlimagemessage-square14linkfedilinkarrow-up1125
arrow-up1125imageMadness or brilliancelemmy.mla14o ( a14o@feddit.org ) to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square14linkfedilink
minus-squaresqueamish_ossifrage ( squeamish_ossifrage@lemmy.today ) linkfedilinkarrow-up1·1 year agoconsole.log('func', {A, B, C})
minus-squaredumnezero ( dumnezero@piefed.social ) linkfedilinkEnglisharrow-up1·1 year agoWhile that works, of course, I avoid doing object construction or other logic beside some string concatenation in JS logs. And those string literals serve a purpose as semantic markers, not just as separators.
console.log('func', {A, B, C})While that works, of course, I avoid doing object construction or other logic beside some string concatenation in JS logs. And those string literals serve a purpose as semantic markers, not just as separators.