"inserts into" instead of "appends to"
This commit is contained in:
parent
fb4fc33a22
commit
2dce19e3e9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue