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,11 @@
Ответ: `x = 5`.
Оператор присваивания возвращает значение, которое будет записано в переменную, например:
```js
//+ run
var a = 2;
alert( a *= 2 ); // 4
```
Отсюда `x = 1 + 4 = 5`.

View file

@ -0,0 +1,12 @@
# Результат присваивания
[importance 3]
Чему будет равен `x` в примере ниже?
```js
var a = 2;
var x = 1 + (a *= 2);
```