diff --git a/README.md b/README.md
index 092a124a0..d02308743 100644
--- a/README.md
+++ b/README.md
@@ -2428,7 +2428,7 @@ const fibonacciUntilNum = num => {
fibonacciCountUntilNum(10); // 7
+fibonacciUntilNum(10); // [ 0, 1, 1, 2, 3, 5, 8 ]
Calculates the greatest common divisor between two or more numbers/arrays.
The helperGcdfunction uses recursion. Base case is when y equals 0. In this case, return x. Otherwise, return the GCD of y and the remainder of the division x/y.
const gcd = (...arr) => {
let data = [].concat(...arr);
const helperGcd = (x, y) => (!y ? x : gcd(y, x % y));