What is console.log | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 1

What is console.log

what is console.log and what's use

8th Feb 2017, 8:19 AM
Abhi
Abhi - avatar
1 ответ
+ 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
8th Feb 2017, 9:15 AM
R4xx4r
R4xx4r - avatar