split hello-world into 2 chapters

This commit is contained in:
Ilya Kantor 2015-01-21 11:37:57 +03:00
parent 99240a757a
commit 97daf5f54a
117 changed files with 177 additions and 177 deletions

View file

@ -0,0 +1,27 @@
# Какой скрипт выполнится первым?
[importance 4]
В примере ниже подключены два скрипта `small.js` и `big.js`.
Если предположить, что `small.js` загружается гораздо быстрее, чем `big.js` -- какой выполнится первым?
```html
<script src="big.js"></script>
<script src="small.js"></script>
```
А вот так?
```html
<script async src="big.js"></script>
<script async src="small.js"></script>
```
А так?
```html
<script defer src="big.js"></script>
<script defer src="small.js"></script>
```