Chrome Dev Console Outputting Undefined
Every time i see some javascript code on a website, I feel like typing and trying it out on the Chrome's developer's tool console instead of creating a javascript file and then ope
Solution 1:
If you type it without "var", just
x = 12;
it will output 12; but in any case, this is a duplicate question of: Chrome/Firefox console.log always appends a line saying undefined and What does it mean if console.log(4) outputs undefined in Chrome Console?
Post a Comment for "Chrome Dev Console Outputting Undefined"