In many cases it is not desirable to allow comparison with undefined. Is it somehow enforceable that this will be detected during compilation? ``` javascript function a() { } if (a()) { } // this should throw error ``` I guess this is by design not available.
In many cases it is not desirable to allow comparison with undefined. Is it somehow enforceable that this will be detected during compilation?
I guess this is by design not available.