I'm having issues with something pretty easy but I am wondering can anyone help me. I have an escape character in my Javascript object to escape an apostrophe, but this character is being lost once I assign it into the x variable. Does anyone know how I can keep this \ character in the name? Thanks
var x = { Name: 'Matt\'s Test'};
var y = x.Name;
console.log(y);