type javascript non fini
var x;
if (typeof x === 'undefined') {
// these statements execute
}
Smoggy Shrew
var x;
if (typeof x === 'undefined') {
// these statements execute
}
Your question goes here...What is undefined
let x;
console.log(typeof(x));
/* Output: undefined */
let name1:string = person.name!;
// ^ note the exclamation mark here