functionsanitizeQuotes(str) {
return str.replace(/"/g, '\\"').replace(/'/g, "\\'");
}
module.exports = sanitizeQuotes;
// This function replaces double quotes with escaped double quotes// and single quotes with escaped single quotes in the input string.