shankar_r
8 years agoCommunity Hero
Status:
New Idea
Identifying undefined variables in functions: JavaScript
I would like to request feature which will show a syntax error in Editor workspace for undefined variables as like in Eclipse.
In below example, Currently no syntax error is displayed but it is having warning or error which is undefined variable.
For Ex:
function test() { var testvar = "1"; if(testvar == expectedvar) { Log.Error("balhblah") } }
Currently, we will come to know about undefined variables only when we run the function and also TC is taking around 15 + mins to identify this undefined variable. [I know this time is because i'm having huge units]
If we have this feature then it would be good suppress the undefined error.