1
rated 0 times
[
6]
[
5]
/ answers: 1 / hits: 127718
/ 10 Years ago, sat, june 21, 2014, 12:00:00
console.log(hi) gives
undefined
hi
console.log(1+1) gives
undefined
2
Whether it's a string or integer calculation, I get undefined then the correct answer.
Why do I get the undefined message? Is there a good way to avoid it?
More From » console.log