update snippets 62-78
This commit is contained in:
@ -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