function checkVariable(variable) {
			if (
				variable.writeable === false &&
				!exceptions.includes(variable.name)
			) {
				variable.references.forEach(checkReference);
			}
		}
Reports write references if a given variable is read-only builtin.
@param {Variable} variable A variable to check.
@returns {void}