"inserts into" instead of "appends to"

This commit is contained in:
joaquinelio 2021-06-16 02:05:38 -03:00 committed by GitHub
parent fb4fc33a22
commit 2dce19e3e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ function loadScript(src) {
}
```
It appends to the document the new, dynamically created, tag `<script src="…">` with given `src`. The browser automatically starts loading it and executes when complete.
It inserts into the document the new, dynamically created, tag `<script src="…">` with the given `src`. The browser automatically starts loading it and executes when complete.
We can use this function like this: