Javascript – Why console.log on chrome console display undefined and does not print out value? What to do if I want to list a value?
Try this in chrome console: var x =2; console.log(x); Why console.log() on chrome console display undefined and does not print out value? Is there anything wrong in my setting? What to do if I want to list a value on…