How to list all undefined variables in JavaScript? -
consider following well-known situation:
var x = 1; function f () { console.log(x); var x = 3; console.log(x); } f();
in case output be:
undefined 3
so list 'undefined' variables read before received value. possible somehow?
maybe resharper inspect undefined variable?
Comments
Post a Comment