Merge pull request #3058 from smith558/patch-2

Clarify confusing point
This commit is contained in:
Ilya Kantor 2022-06-18 21:50:19 +03:00 committed by GitHub
commit 9787f3617d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ function loadScript(src, callback) {
*!*
loadScript('https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.2.0/lodash.js', script => {
alert(`Cool, the script ${script.src} is loaded`);
alert( _ ); // function declared in the loaded script
alert( _ ); // _ is a function declared in the loaded script
});
*/!*
```