Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptgetters and settersSingle-choice MCQ

What does JSON.stringify produce for this object?

const o = { _v: 5, get v() { return this._v * 2; }, set v(x) { this._v = x; } }; console.log(JSON.stringify(o));