"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.escape = void 0;
function escape(str) {
    let res = '';
    for (let i = 0; i < str.length; i++) {
        const char = str[i];
        if (char === '"') {
            res += '\\"';
        }
        else {
            res += char;
        }
    }
    return res;
}
exports.escape = escape;
//# sourceMappingURL=escape.js.map