Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### isArmstrongNumber
|
||||
---
|
||||
title: isArmstrongNumber
|
||||
tags: math,beginner
|
||||
---
|
||||
|
||||
Checks if the given number is an Armstrong number or not.
|
||||
|
||||
@ -14,4 +17,4 @@ const isArmstrongNumber = digits =>
|
||||
```js
|
||||
isArmstrongNumber(1634); // true
|
||||
isArmstrongNumber(56); // false
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user