javascript console log does not print the var code example
Example 1: print javascript variable in console
console.log(p);
Example 2: change console log to print javascript
function print(value) {
console.log(value)
}
print("Hello")
console.log(p);
function print(value) {
console.log(value)
}
print("Hello")