function isIterationVariable(node) {
	const { parent } = node;

	return (
		(parent.type === "ForInStatement" && parent.left === node) ||
		(parent.type === "ForOfStatement" && parent.left === node)
	);
}
Check if a given node is the iteration variable of `for-in`/`for-of` syntax.
@param {ASTNode} node The node to check.
@returns {boolean} `true` if the node is the iteration variable.