Re:DuckDuckGo for Mac beta now open to the public
by wifu on Tuesday October 18, 2022 @02:59PM
(#33252229)
JSON.stringify is outputting the "own, enumerable" properties. The default properties of window.navigator aren't enumerable and/or come through the prototype chain.
The rules for JSON.stringify are actually pretty complicated: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...