Fix typos
This commit is contained in:
parent
ca92aed539
commit
feebafcc9e
5 changed files with 5 additions and 5 deletions
|
@ -182,7 +182,7 @@ alert( {}.toString.call(user) ); // [object User]
|
|||
For most environment-specific objects, there is such a property. Here are few browser specific examples:
|
||||
|
||||
```js run
|
||||
// toStringTag for the envinronment-specific object and class:
|
||||
// toStringTag for the environment-specific object and class:
|
||||
alert( window[Symbol.toStringTag]); // window
|
||||
alert( XMLHttpRequest.prototype[Symbol.toStringTag] ); // XMLHttpRequest
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue