You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/11-async/01-callbacks/article.md
+2
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ function loadScript(src, *!*callback*/!*) {
77
77
}
78
78
```
79
79
80
+
The `onload` event is described in the article <info:onload-onerror#loading-a-script>, it basically executes a function after the script is loaded and executed.
81
+
80
82
Now if we want to call new functions from the script, we should write that in the callback:
0 commit comments