- 1
What is console.log
what is console.log and what's use
1 Answer
+ 1
Big Jim explained it ;)
And additional i could say - I use it to "debug" JS.
just set console.log(INSERT_VAR); at few places of the code and you can see whats the value at some points - maybe in loops if there is something wrong or if there is a null var you could see at which pint it turned to null (if you set more cosole log points) and so on