The console.log() method is mainly used for debugging in JavaScript. It outputs a message to the web console. All modern web browsers provides support for it. 1. Strings You can write anything to the web console by passing it as a string. For exampl...

Markdown supported · ⌘↵ to post
No responses yet.