I'm trying to stringify a JSON object that contains a string with quotes inside of it:
array = ['bar "foo"']
However, the string is created as: '["bar \\"foo\\""]' when I was hoping for something more along the lines of '["bar \"foo\""]'. Why are there two backslashes generated? Thanks
'['"wat"']'even mean?'["bar \\"foo\\""]'. console.log() ?