Better HN
topnewbestaskshowjobs
Log inSign up

wifu

2 karma · joined Sep 13, 2019 (7y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

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...

comment 7y ago · link · parent

Interesting bit about one of the survivors:

> Byron went on to have a highly distinguished naval career, being promoted all the way to Vice-Admiral before he retired. One of his grandchildren grew up to be the famous poet Lord Byron; and one of Lord Byron’s children was Ada Lovelace, widely regarded as history’s first programmer.