Tell us what’s happening:
I have tried using the number of the 4th object in the array as well as the text and neither seem to work. Will post examples below
Your code so far
function goFight() {
update(fight);
}
and
function goFight() {
update(3);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 113