renovations
This commit is contained in:
parent
87a3588057
commit
223dd884ae
100 changed files with 638 additions and 658 deletions
|
@ -1,14 +0,0 @@
|
|||
# Проверка, целое ли число
|
||||
|
||||
[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