I've been pondering over this very fundamental question, but the answer still eludes me.
What is the reason for the screen
object being empty when stringified?
Could it be that JSON.stringify()
requires some form of read/write access to its input?
let a = {foo: 'one', bar: 2};
console.log(JSON.stringify(a));
console.log(JSON.stringify(screen));