beautify 1st part of the tutorial

This commit is contained in:
Ilya Kantor 2015-03-10 12:36:58 +03:00
parent e3dd2cedc0
commit 6444024a9d
327 changed files with 2358 additions and 1986 deletions

View file

@ -3,7 +3,7 @@
```js
//+ run
function f(x) {
alert(arguments.length ? 1 : 0);
alert( arguments.length ? 1 : 0 );
}
f(undefined);

View file

@ -5,7 +5,7 @@
Как в функции отличить отсутствующий аргумент от `undefined`?
```js
function f(x) {
function f(x) {
// ..ваш код..
// выведите 1, если первый аргумент есть, и 0 - если нет
}