From 24a6d296bd959364ed471d7d8b0bde6ae49aaa97 Mon Sep 17 00:00:00 2001 From: "Violet.Lee" Date: Tue, 29 Oct 2019 01:58:53 +0900 Subject: [PATCH] Update article.md --- 1-js/11-async/01-callbacks/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;