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