How to write directly to browser console (F12 on Firefox, Chrome and IE) with JavaScript

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>

<p>
To Activate debugging in your browser press F12 on Firefox, Chrome or IE and select "Console" in 
the top menu of the debugger.
</p>

<script>
console.log(1 + 9);
</script>

</body>
</html>

<!--
run:

10
-->



answered Jun 1, 2015 by avibootz
edited Jun 2, 2015 by avibootz
...