Merge pull request #1975 from traxium/patch-1

Fix typo in /instanceof section (widow -> Window)
This commit is contained in:
Ilya Kantor 2020-07-18 14:15:42 +03:00 committed by GitHub
commit 5e74d7cbf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,7 @@ For most environment-specific objects, there is such a property. Here are some b
```js run
// toStringTag for the environment-specific object and class:
alert( window[Symbol.toStringTag]); // window
alert( window[Symbol.toStringTag]); // Window
alert( XMLHttpRequest.prototype[Symbol.toStringTag] ); // XMLHttpRequest
alert( {}.toString.call(window) ); // [object Window]