Skip to content

Conversation

@LachelleF
Copy link
Owner

No description provided.

// var output = birthdaysInMonth(birthdayCollection, "February"); //[ 'February 10', 'February 7', 'February 18' ]
// console.log(output);

var computeSumBetween = (num1, num2) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add comments to each line of this function to let me know what you're doing?

}
let sum = 0;
let sum = 0; //est. var sum to store total while looping thru delta btw nums
for (let i = num1; i < num2; i++) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this loop do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants