Exactly what does it do ? It is just printing the answers here over Codecademy. Isn't it ? Where are the logs ?
In the codecademy-courses the console.log() Method's output is redirected to the right-hand-display
Normally if you use it in a HTML-environment
the display is done in the debugger's =console=
If you read
and look in the left-hand column under the =header= Methods
you will see a couple of other pre-coded console-function's
ThaNks It was simple isn't it ?