function isStartOfExpressionStatement(node) {
	const start = node.range[0];
	let ancestor = node;

	while ((ancestor = ancestor.parent) && ancestor.range[0] === start) {
		if (ancestor.type === "ExpressionStatement") {
			return true;
		}
	}
	return false;
}
Tests if a node appears at the beginning of an ancestor ExpressionStatement node.
@param {ASTNode} node The node to check.
@returns {boolean} Whether the node appears at the beginning of an ancestor ExpressionStatement node.