Typical use
Input
console.log(1 + 2)
Output
The console prints 3.
Run JavaScript snippets online and view console output.
Use this page to run JavaScript snippets in the browser. It focuses on JavaScript code and produces console output or execution result.
console.log(1 + 2)
The console prints 3.
The input is mainly processed in your browser, and the page only uses browser capabilities needed to generate the result.