Oprava překlepu
This commit is contained in:
parent
b2c8b312c3
commit
09264720d1
@ -63,7 +63,7 @@ export default function Header() {
|
|||||||
const weight = (2 ** order) % 11;
|
const weight = (2 ** order) % 11;
|
||||||
sum += Number.parseInt(char) * weight
|
sum += Number.parseInt(char) * weight
|
||||||
}
|
}
|
||||||
if (sum % 11 != 0) {
|
if (sum % 11 !== 0) {
|
||||||
throw Error("Číslo účtu je neplatné")
|
throw Error("Číslo účtu je neplatné")
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user