From 0970fcd136b9ed9ae6f926e3de09d1e135453cd1 Mon Sep 17 00:00:00 2001 From: atomiks Date: Mon, 1 Jan 2018 04:40:59 +1100 Subject: [PATCH] fix description --- snippets/isArmstrongNumber.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/isArmstrongNumber.md b/snippets/isArmstrongNumber.md index ab6d7a6e0..effb58e20 100644 --- a/snippets/isArmstrongNumber.md +++ b/snippets/isArmstrongNumber.md @@ -2,7 +2,7 @@ Checks if the given number is an Armstrong number or not. -Convert the given number into an array of digits. Use `Math.pow()` to get the appropriate power for each digit and sum them up. If the sum is equal to the number itself, return `true` otherwise `false`. +Convert the given number into an array of digits. Use the exponent `**` operator to get the appropriate power for each digit and sum them up. If the sum is equal to the number itself, return `true` otherwise `false`. ```js const isArmstrongNumber = digits =>