cm0002@sh.itjust.works to Programmer Humor@programming.dev · 3 days agoMadness or brilliancefeddit.orgimagemessage-square44linkfedilinkarrow-up1502arrow-down16
arrow-up1496arrow-down1imageMadness or brilliancefeddit.orgcm0002@sh.itjust.works to Programmer Humor@programming.dev · 3 days agomessage-square44linkfedilink
minus-squaremonkeyslikebananas2@lemmy.worldlinkfedilinkarrow-up9·3 days agoMeh alert(“here”); is better
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·1 day agoNot sure why you would say that. An alert() does not show you where in the code the alert was called from. A console log would show you.
minus-squaremonkeyslikebananas2@lemmy.worldlinkfedilinkarrow-up1·1 day agoThere was a time when there was no console.log in javascript. Oh and browsers didn’t even have developer tools.
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·1 day agoI remember those days. My comment still stands, I don’t know how your new reply explains why alert() is better in any way, shape or form. 😅
minus-squaremonkeyslikebananas2@lemmy.worldlinkfedilinkarrow-up1·edit-224 hours agoOh, it’s a joke with a touch of irony. Maybe even sprinkle some sarcasm in too.
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·22 hours agoGotcha. It wasn’t clear to me but fair enough 👍
Meh
alert(“here”);
is betterNot sure why you would say that. An alert() does not show you where in the code the alert was called from. A console log would show you.
There was a time when there was no console.log in javascript. Oh and browsers didn’t even have developer tools.
I remember those days. My comment still stands, I don’t know how your new reply explains why alert() is better in any way, shape or form. 😅
Oh, it’s a joke with a touch of irony. Maybe even sprinkle some sarcasm in too.
Gotcha. It wasn’t clear to me but fair enough 👍