you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (4 children)

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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 year ago (3 children)

    There was a time when there was no console.log in javascript. Oh and browsers didn’t even have developer tools.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 year ago (2 children)

    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. 😅

  • source
  • parent
  • hideshow 2 child comments