- 1
What is console.log in javascript
explain how to use it in JS and what is the use of it?
2 Answers
+ 3
it is quite similar to document.write but console.log won't produce output in the Document.. it will display in a Console window
+ 4
it is a developer tool.. usually used to check whether your program is working fine or not.. and if there is an error then to which line and what type of error is checked.. and can be placed anywhere. and mostly used when there is large number of codes..