function getKind(label) {
			let info = scopeInfo;

			while (info) {
				if (info.label === label) {
					return info.kind;
				}
				info = info.upper;
			}

			/* c8 ignore next */
			return "other";
		}
Checks whether a given name is a label of a loop or not.
@param {string} label A name of a label to check.
@returns {boolean} `true` if the name is a label of a loop.