update snippets 62-78
This commit is contained in:
committed by
Agamemnon Zorbas
parent
b5c4358995
commit
c829ed692e
@ -6,5 +6,8 @@ Use the modulo operator (`%`) to check if the remainder is equal to `0`.
|
||||
|
||||
```js
|
||||
const isDivisible = (dividend, divisor) => dividend % divisor === 0;
|
||||
// isDivisible(6,3) -> true
|
||||
```
|
||||
|
||||
```js
|
||||
isDivisible(6,3) -> true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user