function isUndefined(expression, scope) {
	if (expression.type === "Identifier" && expression.name === "undefined") {
		return astUtils.isReferenceToGlobalVariable(scope, expression);
	}

	return (
		expression.type === "UnaryExpression" &&
		expression.operator === "void" &&
		expression.argument.type === "Literal" &&
		expression.argument.value === 0
	);
}
Returns true iff either "undefined" or a void expression (eg. "void 0")
@param {ASTNode} expression Expression to check
@param {import('eslint-scope').Scope} scope Scope of the expression
@returns {boolean} True iff "undefined" or "void ..."