Ad
  • Custom User Avatar

    this is because you create a variable within your function with the same name as the function and declared this variable without let, which puts it in the global scope and overwrites the function itself