Ad
  • Custom User Avatar

    You use const when you do not want to reassign the variable later on, whilst using let allows you to reassign variables.

    Regardless, your code's logic is wrong as you are comparing the length of good's race with bad ones.