JavaScript prüfen Sie, ob sie nicht beschränkt sind
if (typeof myVariable === 'undefined'){
//myVariable is undefined
}
Grepper
if (typeof myVariable === 'undefined'){
//myVariable is undefined
}