3 ms·
Since your quiz applies equally to any JavaScript engine, why not replace "window" with "this"? See https://developer.mozilla.org/en-US/docs/JavaScript/Referen
by tantalor 14y 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/Reference/Operators/this 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.