Toddler or Naji
Coincidentally I'm looking for isNAN function to convert NAN results into 0. But I didn't find it. Any help? Thanks in advance.
Check if a variable or global variable or an array isNaN () , if so just set this number to zero
example : (Hope you understand because I'm a coder)
If ( isNaN(Array.at(index))) {
Array.at(index) = 0;
}