function areEqualTokenLists(left, right) {
	if (left.length !== right.length) {
		return false;
	}

	for (let i = 0; i < left.length; i++) {
		const leftToken = left[i],
			rightToken = right[i];

		if (
			leftToken.type !== rightToken.type ||
			leftToken.value !== rightToken.value
		) {
			return false;
		}
	}

	return true;
}
Checks whether or not the given lists represent the equal tokens in the same order.
Tokens are compared by their properties, not by instance.
@param {Token[]} left First list of tokens.
@param {Token[]} right Second list of tokens.
@returns {boolean} `true` if the lists have same tokens.