How can I convert an Object to a string so that output is something like this:
e.g. let a = {b: "c"}
Let's assume the above example is our sample Object. Now we can use JSON.stringify(a)
to convert it to string but that outputs,
console.log(a)
-> {"b": "c"}
but I want something like this: {b: "c"}
in the original Object format.