Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to console.log variable in js

<script>
var a = 2;
console.log("The value of a is " + a);
</script>
 
PREVIOUS NEXT
Tagged: #variable #js
ADD COMMENT
Topic
Name
1+6 =