Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7e8bf4

Browse files
fix types error in GetGCD method
1 parent 60b185d commit d7e8bf4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Maths/GetGCD.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
const getGcd = (arg1, arg2) => {
1515
// Find a minimum of both numbers.
16-
1716
let less = arg1 > arg2 ? arg2 : arg1
1817
// Iterate the number and find the gcd of the number using the above explanation.
1918
for (less; less >= 2; less--) {

0 commit comments

Comments
 (0)