Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.

Week 1/mandatory/leroy douglas - #1

Open
leroy-douglas wants to merge 4 commits into
CodeYourFuture:masterfrom
leroy-douglas:week-1/mandatory/LeroyDouglas
Open

Week 1/mandatory/leroy douglas#1
leroy-douglas wants to merge 4 commits into
CodeYourFuture:masterfrom
leroy-douglas:week-1/mandatory/LeroyDouglas

Conversation

@leroy-douglas

Copy link
Copy Markdown

Your Details

Your Name: Leroy Douglas
Your City: Birmingham
Your Slack Name: Leroy

Homework Details

Module: JavaScript-Core-1
Week: 1

Added comments for s(w1, w2) and getNumber().
Also added code to the body of
concatenate(s1, s2, s3)
Updated calculateSalesTax(price) and formatCurrency(price)
@leroy-douglas
leroy-douglas marked this pull request as draft June 16, 2020 18:45
@leroy-douglas
leroy-douglas marked this pull request as ready for review June 16, 2020 18:46

@Rody-Kirwan Rody-Kirwan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work Leroy

* e.g if the function is call with the following arguments: s("Hello", " World!"), where the
* second argument is prepended with a space, then the function will return the following string:
* "Hello World!"
*/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

FYI - these could potentially be arrays also :)
[1, 2, 3].concat([4, 5, 6]) // returns [1, 2, 3, 4, 5, 6]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants