Skip to content

Commit

Permalink
completed #19
Browse files Browse the repository at this point in the history
  • Loading branch information
kinwail committed Jun 12, 2018
1 parent b5d6bf0 commit 62fb24e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,18 @@ console.log('west:' + west);

var subOftheDay = ["Teriyaki Chicken", "Spicy Italian", "Turkey", "BMT", "Black Forest Ham", "Meatball Marinara", "Veggie"];

function subways(special){
for(var i=0;i<special.length;i++){
if(i%2 !== 0){
special[i] ='Classic Tuna'
}
}
}

subways(subOftheDay);
console.log(subOftheDay);



/*
Final Boss
Expand Down

0 comments on commit 62fb24e

Please sign in to comment.