Very new to coding, what does the console.log do?

rednal

Member
Dec 9, 2012
41
0
0
Hi, I've started learning to code on codecademy and was having trouble understanding what the command console.log did. Please explain in very simple terms what it does and its importance.
Thanks a ton,
Rednal
 

nickbits

Diamond Member
Mar 10, 2008
4,122
1
81
It prints to the browser console. There is a command in each browser to open it. It is used to debugging and development.