I really don't get why Visual Studio gives me the warning "Qualifier can be 'null' or 'undefined'" on the execution of "ra.split('')" below, even after I did a nullity check. I have this code:
var ra = data.RiskAnalysis;
if (typeof ra !== "undefined") {
var ebwg = ra.split('');
}
As you can read in this stackoverflow-post 'typeof ra' would return 'object' if the value was null.
Is this a bug? Or isn't my check sufficient?