Update article.md (#1533)

Update article.md
This commit is contained in:
Alexey Pyltsyn 2019-10-29 17:54:56 +03:00 committed by GitHub
commit d8958e227e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,7 @@ In the above examples we didn't consider errors. What if the script loading fail
Here's an improved version of `loadScript` that tracks loading errors:
```js run
```js
function loadScript(src, callback) {
let script = document.createElement('script');
script.src = src;