Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

What's going on here? Simple assignments don't work?

  • 1 Antwort
  • 0 haben dieses Problem
  • Letzte Antwort von walt20

more options

As you can see in the attached screenshot, grandTotals.winningScore is 9. We've just assigned it to scoreNumber, but scoreNumber is "undefined".

As you can see in the attached screenshot, grandTotals.winningScore is 9. We've just assigned it to scoreNumber, but scoreNumber is "undefined".
Angefügte Screenshots

Alle Antworten (1)

more options

i fixed this by creating an object with the three properties instead of using an array. I have no idea why it works or why the simple assignment statement in the attached image didn't work.

I'm not marking this as "Solved the problem" because I just found a way around it: as far as I'm concerned, something is still wrong.

Geändert am von walt20

Hilfreich?

Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.