Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

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

  • 1 件の返信
  • 0 人がこの問題に困っています
  • 最後の返信者: 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".
添付されたスクリーンショット

すべての返信 (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.

この投稿は walt20 により に変更されました

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。