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

@ -2,8 +2,8 @@
```js
//+ run
function isEmpty(obj) {
for(var key in obj) {
function isEmpty(obj) {
for (var key in obj) {
return false;
}
return true;
@ -11,10 +11,10 @@ function isEmpty(obj) {
var schedule = {};
alert( isEmpty( schedule ) ); // true
alert( isEmpty(schedule) ); // true
schedule["8:30"] = "подъём";
alert( isEmpty( schedule ) ); // false
alert( isEmpty(schedule) ); // false
```