cómo consolar.log variable en js
<script>
var a = 2;
console.log("The value of a is " + a);
</script>
namesaq
<script>
var a = 2;
console.log("The value of a is " + a);
</script>