+ 2

Why use console. in the JS ?

What is the main reason for use console in the web development

28th Dec 2021, 4:29 PM
Araz
4 Respostas
+ 2
@Araz console. log specifically is a method for developers to write code to inconspicuously inform the developers what the code is doing. It can be used to alert you that there's an issue, but shouldn't take the place of an interactive debugger when it comes time to debug the code. Araz edit]: https://stackoverflow.com/questions/4539253/what-is-console-log
28th Dec 2021, 5:11 PM
NEZ
NEZ - avatar
+ 5
Output to console is for testing code.
28th Dec 2021, 4:44 PM
Lisa
Lisa - avatar
0
used for this purpose only
28th Dec 2021, 4:49 PM
Araz
0
NEZ Thank you , you're amazing .
28th Dec 2021, 10:12 PM
Araz