cm0002@sh.itjust.works to Programmer Humor@programming.dev · 28 天前Madness or brilliancefeddit.orgimagemessage-square45fedilinkarrow-up1521arrow-down17
arrow-up1514arrow-down1imageMadness or brilliancefeddit.orgcm0002@sh.itjust.works to Programmer Humor@programming.dev · 28 天前message-square45fedilink
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·27 天前Not 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·27 天前There 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·26 天前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. 😅
minus-squaremonkeyslikebananas2@lemmy.worldlinkfedilinkarrow-up1·edit-226 天前Oh, it’s a joke with a touch of irony. Maybe even sprinkle some sarcasm in too.
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·26 天前Gotcha. 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 👍