Skip to content

Commit

Permalink
Update functions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AttitudeOne1 authored Dec 10, 2024
1 parent 7ef335c commit 15dad64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function findNumber (string) {
let numbers = '';
string = string.toString();
for (let i = 0; i < string.length; i++) {
if (Number.isNaN(parseInt(string[i])) === false) {
if (Number.isNaN(parseInt(string[i]), 10) === false) {

Check failure on line 21 in js/functions.js

View workflow job for this annotation

GitHub Actions / Check

Missing radix parameter
numbers += string[i];
}
}
Expand Down

0 comments on commit 15dad64

Please sign in to comment.