0
What is Console.log() for?
I have another app for learning JavaScript but I don't get what Console.log('Example String') is used for.
3 Answers
0
(Oh it is used for debugging) http://stackoverflow.com/questions/4539253/what-is-console-log
0
To test if something works!
0
console.log() is used to check whether a part of your code is executing or not. It is accessed on the browser - just right click anywhere and choose 'Inspect Element'. The browser window will split in half & show you multiple options , from there select 'console' tab. It will contain all the data that you have logged using console.log() in your Java script file.