diff --git a/js/predictions.js b/js/predictions.js index 27329f9..a97700a 100644 --- a/js/predictions.js +++ b/js/predictions.js @@ -810,7 +810,7 @@ class Predictor { * generate_possibilities(sell_prices, first_buy, previous_pattern) { if (first_buy || isNaN(sell_prices[0])) { for (var buy_price = 90; buy_price <= 110; buy_price++) { - const temp_sell_prices= sell_prices.slice() + const temp_sell_prices = sell_prices.slice(); temp_sell_prices[0] = temp_sell_prices[1] = buy_price; if (first_buy) { yield* this.generate_pattern_3(temp_sell_prices);