The console.log() method displays all the JavaScript values in the debugger window if your browser supports debugging.