Ad
Code
Diff
  • const numMinusSeven = function(num) {
      return Math.ceil(num / 7);  
    }
    • const numMinusSeven = function(num) {
    • let youGoodBro = [];
    • while (num > 0) {
    • num -= 7;
    • youGoodBro.push(num);
    • }
    • return youGoodBro.length;
    • return Math.ceil(num / 7);
    • }