diff --git a/1-js/11-async/01-callbacks/article.md b/1-js/11-async/01-callbacks/article.md index f41a3705..daab9331 100644 --- a/1-js/11-async/01-callbacks/article.md +++ b/1-js/11-async/01-callbacks/article.md @@ -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;