Skip to main content

Non-exception FailuresUnexpected behavior which doesn't throw Exception (in default JavaScript)

Non-exception Failures get flag by TS Static Type System

by default, JavaScript does not throw error for calling a non-existing property on a object returns undefined in JavaScript, whereas TypeScript throws an error

contrast Runtime Error

References

  1. Logical ErrorNon-exception Failures & bug from bad Semantic in Source Code