Merge pull request #1975 from traxium/patch-1
Fix typo in /instanceof section (widow -> Window)
This commit is contained in:
commit
5e74d7cbf6
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ For most environment-specific objects, there is such a property. Here are some b
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
// toStringTag for the environment-specific object and class:
|
// 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( XMLHttpRequest.prototype[Symbol.toStringTag] ); // XMLHttpRequest
|
||||||
|
|
||||||
alert( {}.toString.call(window) ); // [object Window]
|
alert( {}.toString.call(window) ); // [object Window]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue