Is there any way to open the JavaScript Console by clicking an .html button?

I’m wondering if there is any chance that by clicking a button in .html, it’ll open the JavaScript console in Google.

So it’ll look something like:

<a onclick="foo()"Click Me!">
<script>
function foo(){

//this is where you'd put the JavaScript or jQuery that'll open the JavaScript console.

}
</script>