split hello-world into 2 chapters
This commit is contained in:
parent
99240a757a
commit
97daf5f54a
117 changed files with 177 additions and 177 deletions
|
@ -0,0 +1,14 @@
|
|||
# Проверка, целое ли число
|
||||
|
||||
[importance 3]
|
||||
|
||||
Напишите функцию `isInteger(num)`, которая возвращает `true`, если `num` -- целое число, иначе `false`.
|
||||
|
||||
Например:
|
||||
|
||||
```js
|
||||
alert( isInteger(1) ); // true
|
||||
alert( isInteger(1.5) ); // false
|
||||
alert( isInteger(-0.5) ); // false
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue