Encountered an intriguing dilemma that has me stumped.
There is a single stipulation: Only the json can be altered!
I am struggling to meet this requirement: data.hasOwnProperty("\u{0030}")
class JobHunter {
get data() {
return '{"\\\\u{0030}": {}}';
}
}
let data;
console.assert(
typeof (data = JSON.parse(new JobHunter().data)) === "object"
&& data.hasOwnProperty("\u{0030}")
&& typeof Object.values(data)[0] === "object"
&& Boolean(data[+false]) === false
);
What json structure do you believe will fulfill all conditions?