Fix typo
build-in --> built-in
This commit is contained in:
parent
358c14038d
commit
1dc1e6366c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ That said, using global variables is generally discouraged. There should be as f
|
||||||
|
|
||||||
We can test the global object for support of modern language features.
|
We can test the global object for support of modern language features.
|
||||||
|
|
||||||
For instance, test if a build-in `Promise` object exists (it doesn't in really old browsers):
|
For instance, test if a built-in `Promise` object exists (it doesn't in really old browsers):
|
||||||
```js run
|
```js run
|
||||||
if (!window.Promise) {
|
if (!window.Promise) {
|
||||||
alert("Your browser is really old!");
|
alert("Your browser is really old!");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue