blob: 28e7d00574fe74fc8fc385bcd990c4b32fbd5a3e [file] [log] [blame] [edit]
//@ requireOptions("--useJSONSourceTextAccess=1")
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
var object = {
"Hello": JSON.rawJSON(`"World"`)
};
shouldBe(JSON.stringify(object), `{"Hello":"World"}`);