Object.defineProperty(exports, "__esModule", { value: true });
function traverseStringConcat(left, right, charIndex) {
    if (charIndex < left.result.length) {
        return {
            operationLog: left,
            charIndex: charIndex
        };
    }
    else {
        return {
            operationLog: right,
            charIndex: charIndex - left.result.length
        };
    }
}
exports.default = traverseStringConcat;
//# sourceMappingURL=traverseStringConcat.js.map