function getOuterScope(scope) {
			const upper = scope.upper;

			if (upper && upper.type === "function-expression-name") {
				return upper.upper;
			}
			return upper;
		}
Finds function's outer scope.
@param {Scope} scope Function's own scope.
@returns {Scope} Function's outer scope.