`typeof unreliableVarName` is the only thing I know of that can be evaluated safely when there isn't an identifier `unreliableVarName`.

`var && var.foo` only works if `var` was declared as a variable or function parameter in an enclosing scope.