update luhnCheck example, add 2 tests, luhnCheck & mapObject
This commit is contained in:
@ -23,6 +23,6 @@ const luhnCheck = num => {
|
||||
|
||||
```js
|
||||
luhnCheck('4485275742308327'); // true
|
||||
luhnCheck(6011329933655299); // true
|
||||
luhnCheck(6011329933655299); // false
|
||||
luhnCheck(123456789); // false
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user