What is console.log() how it's working internally


#1

what is console.log() how it’s working internally


#2

why does it matter? I wouldn’t be focusing on it. Making computers as smart as they are today, took million of manhours. Certain things are best not to get into, at least not in the beginning. I know, it sucks. Certain things are better left as a blackbox, some magic that works under the hood

The short version is that the console is something which is built-in to browsers (and the codecademy exercises). .log() is a method of console object, which logs information to the console.

you can read about the console here:

https://developer.mozilla.org/en-US/docs/Tools/Browser_Console

if you really want to. Just now that .log() can be used to log information to it (the console)