Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnath committed Mar 5, 2024
1 parent c9ba4fe commit 74d3610
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ export const intToString = (num) => {
* @param {Object} obj
* @returns {string} stringified object with quotes escaped
*/
export const stringify = (obj) => JSON.stringify(obj).replace(/"/g, "||||");
export const stringify = (obj) => {
console.log('FUCKING STRINFIGY', obj);
let ugh = JSON.stringify(obj);
console.log('FUCKING ughughugh', ugh);
ugh = ugh.replace(/"/g, "||||");
console.log('FUCKING ughughugh222', ugh);
return ugh;
};

/**
* Parse a stringified object with quotes escaped
Expand Down

0 comments on commit 74d3610

Please sign in to comment.