May 29, 2021 Article blog
When we write JavaScript projects, we do program debugging, and let's look at how to debug JavaScript programs.
Print information directly in the browser debugger to visually see specific information on the page
We generally use console .log () because alert() can easily forget to delete, when using alert() for pop-up, the product online will reduce the user experience, we use console .log() to avoid this problem
That's all you need to know about JavaScript program debugging.