Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

London Class 8 - Davood Khoshnood - JavaScript - Core 1 - Week 1 - #237

Closed
DavoodKhoshnood wants to merge 6 commits into
CodeYourFuture:masterfrom
DavoodKhoshnood:master
Closed

London Class 8 - Davood Khoshnood - JavaScript - Core 1 - Week 1#237
DavoodKhoshnood wants to merge 6 commits into
CodeYourFuture:masterfrom
DavoodKhoshnood:master

Conversation

@DavoodKhoshnood

@DavoodKhoshnood DavoodKhoshnood commented Dec 14, 2021

Copy link
Copy Markdown

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name: Davood Khoshnood
  • Your City: London
  • Your Slack Name: Davood

Homework Details

  • Module: JavaScript
  • Week: 1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?


View rendered exercises/B-hello-world/README.md

}


var mentor1 = "Daniel";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi Davood, i would recommend you use let rather than var. It is an outdated way to name variables and let is better.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi Teniolao, I've changed and committed it again. thanks.

change var to let
});
test('getTotal returns a string describing the total', () => {
expect(getTotal(23, 5)).toEqual('The total is 28')
})

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I assume you didn't mean to change all these tests, I assume from a change all? Be careful when doing this when tests are in the same file (though in the real world that wouldn't be case!)

@DiegoJunior0

Copy link
Copy Markdown

Excellent work Davood!

@DavoodKhoshnood

Copy link
Copy Markdown
Author

Excellent work Davood!
Thanks Henry!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants