diff --git a/structure-and-scale/treasure-chest-chaining-static/script.js b/structure-and-scale/treasure-chest-chaining-static/script.js index bdeadf1..90fe0b4 100644 --- a/structure-and-scale/treasure-chest-chaining-static/script.js +++ b/structure-and-scale/treasure-chest-chaining-static/script.js @@ -51,7 +51,7 @@ let TreasureChest = (function () { Constructor.getRandomLoot = function () { let amount = []; - for (let qty = 0; qty <= 50; qty++) { + for (let qty = 0; qty < 50; qty++) { amount.push(qty+1); }