javascript-tutorial / en.javascript.info

Modern JavaScript Tutorial
https://javascript.info
Other
23.13k stars 3.84k forks source link

Update article.md: Small correction #3619

Open plancky opened 8 months ago

plancky commented 8 months ago

The anonymous function passed to loadScript doesn't accept any arguments but the definition passes the callback the script tag which isn't necessary at all and may induce confusion.

It makes perfect sense in successive examples, might have been a typo.

CLAassistant commented 8 months ago

CLA assistant check
All committers have signed the CLA.