Ad

.

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