Skip to content

Commit bb4d37a

Browse files
committed
eslint --fix
1 parent a909209 commit bb4d37a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export const getResult = (num1, operator, num2) => {
6767
};
6868

6969
// Функция вычисления НОД
70-
export const gcd = (num1, num2) => {
70+
export const gcd = (a, b) => {
71+
let num1 = a;
72+
let num2 = b;
7173
// Алгоритм Евклида
7274
while (num2 !== 0) {
7375
const temp = num2;

0 commit comments

Comments
 (0)