comprobación de mecanografiado indefinido
if(myvar === undefined){
console.log("I am undefined.");
}
Friendly Hawk
if(myvar === undefined){
console.log("I am undefined.");
}
if(!!someValue)
let x = foo?.bar.baz();