1309 Views
Ben Nadel uses the "Non-Null Assertion" operator (!) in TypeScript to tell the compiler that an expression always evaluates to a non-null value. This can fix "possibly undefined" compiler errors thrown when using the Array methods .shift() and .pop().
0 comments