minor fixes

This commit is contained in:
Ilya Kantor 2019-07-26 23:21:49 +03:00
parent 689975093c
commit f6ff773033
24 changed files with 67 additions and 76 deletions

View file

@ -9,18 +9,17 @@ Write the code using `if..else` which would correspond to the following `switch`
```js
switch (browser) {
case 'Edge':
alert( "You've got the Edge!" );
alert( "У вас браузер Edge!" );
break;
case 'Chrome':
case 'Firefox':
case 'Safari':
case 'Opera':
alert( 'Okay we support these browsers too' );
alert( 'Мы поддерживаем и эти браузеры' );
break;
default:
alert( 'We hope that this page looks ok!' );
alert( 'Надеемся, что эта страница выглядит хорошо!' );
}
```