Hacker News new | ask | show | jobs
by tantalor 5046 days ago
Since your quiz applies equally to any JavaScript engine, why not replace "window" with "this"?

See https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...

> In the global context (outside of any function), this refers to the global object, whether in strict mode or not.